-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add date to ouput #37
Comments
Won't be fixed. I find the server.log to be best left as is. Adding such a function would just complicate matters unnecessarily. |
I'm sorry, I misspoke. I am referring to stdout during execution of commands. I have already implemented this feature myself. Thanks :) ex: /etc/init.d/minecraft backup |
So you save the output from the init script somehow? |
Yes. /etc/init.d/minecraft backup >>/minecraft/cron.log This is part of my crontabs execution line. So when I look at the logs, it
|
Ok, I see. The majority of the users probably don't save logs that way and it would make the output even more verbose than they already are. But more extensive use of the syslogger (via the command logger) could probably be used. Nothing I'll add any time soon though. |
To make log files easier to track. Not every line needs to be dated, just insert one line with the date. To make reading appened cron output logs easier. I'm guessing make a date() funtion and call it later on. so it outputs only one date line per backup/restart/log-roll etc...
The text was updated successfully, but these errors were encountered: