Azure/Guest-Configuration-Extension

Microsoft.GuestConfiguration.ConfigurationForLinux output logs to "/var/log/azure/guest-configuration"

Opened this issue · 0 comments

y10e commented

readonly LOG_DIR="/var/log/azure/guest-configuration"

From the document, Guest Configuration Extension for Linux outputs the following path(/var/log/azure/Microsoft.GuestConfiguration.ConfigurationForLinux).

Guest Configuration Extension for Linux
https://github.com/Azure/Guest-Configuration-Extension/blob/master/README.md#3-troubleshooting

You can find the logs for the extension at a path like: >/var/log/azure/Microsoft.GuestConfiguration.ConfigurationForLinux.

But actually the current extension outputs to different path(/var/log/azure/guest-configuration).
/var/log/azure/Microsoft.GuestConfiguration.ConfigurationForLinux is empty.

Example:
[root@rhel74 azure]# pwd
/var/log/azure
[root@rhel74 azure]# ls -al ./Microsoft.GuestConfiguration.ConfigurationForLinux/
total 0
drwxr-xr-x. 2 root root 6 Jan 23 04:54 .
drwxr-xr-x. 4 root root 91 Jan 23 04:54 .

[root@rhel74 azure]# ls -al ./guest-configuration/
total 8
drwxr-xr-x. 2 root root 25 Jan 23 04:54 .
drwxr-xr-x. 4 root root 91 Jan 23 04:54 ..
-rw-r--r--. 1 root root 7558 Jan 23 04:54 handler.log