Salt master should log to /var/log/salt/master upon startup and shutdown
When I start salt-master I see /var/log/salt/master file with 0 bytes. It would nice if the master logged to the file saying "I am starting up" or something like that. Same goes for shutdown.
Agreed. Thanks for filing this.
I would also like to be able to see timestamps for when Salt is restarted by looking for these log entries.
@whiteinge all you need is the date in the log formatting string, and I believe the default has it, and least the log file default.
I was referring to the timestamp, not the log message @syeedaly was asking for
Right. If we add log entries for startup and shutdown we'll get the timestamps automatically.
On Thu Jan 15 2015 at 10:58:18 AM Pedro Algarvio [email protected] wrote:
I was referring to the timestamp, not the log message @syeedaly was asking for
— Reply to this email directly or view it on GitHub https://github.com/saltstack/salt/issues/19764#issuecomment-70140486.
#19986 should fix this
You are awesome, sir! I'll get cross-refs for log_granular_levels added to the appropriate docs.
This this should be backported to 2015.2 or even 2014.7?
*Think