-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Allow a log file to be simply named "foobar.log" with no appended string #124
Comments
In the file https://github.com/google/glog/blob/master/src/glog/logging.h.in on line 270 you will find the following indication:
Even if you use SetLogFilenameExtension(".log"), you will get "foobar.logyyyymmdd-mmmmm.nnnn" And I totally agree with you, it would be great to have logs with the expected extension (especially for Windows users) |
Any progress with this? It's not just really annoying, it can cause issues with logrotate, rsyslog management, logstash etc... |
I want to create a simple logfile of the form "foobar.log" without the time_pid_string being appended. I have tried
but this results in a log file of the form "foobar.logyyyymmdd-mmmmm.nnnn".
The text was updated successfully, but these errors were encountered: