-
Notifications
You must be signed in to change notification settings - Fork 135
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
Append to existing log in flog instead of new file #10
Comments
"append" option is a good idea! But I think there might be an issue for multiple log files (with split option)
Then when I re-run the flog with append option, how should flog work for this case? Of course, If I re-run the flog with options which same to previous, appending is easy. It will just fill the last log file out and create new following log files will be named log4, log5 and etc.
But, with different options, it's not easy to determine how to append the new logs to existing log files. Do you have a good idea? :) |
What you think about generate a new file after X time?
|
flog.go creates new file each time Generate is called. It'll be nice if option param can take more info about writing- to append to existing file or create new file
Thanks for great work!
The text was updated successfully, but these errors were encountered: