Skip to content
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

Hi,can you helpe me about the iris's log? #1331

wyanlord opened this issue Aug 7, 2019 · 1 comment


Copy link

commented Aug 7, 2019

Hello, I want to use iris's log function to split log files by day.
But I didn't find a good way.


This comment has been minimized.

Copy link

commented Aug 14, 2019

There is an example on the _examples folder for that but it start saving by day on the application run, you can modify it to run every day change (count manually or use external solutions like CRON). It's not so hard and not relative to Iris, general golang. If you still have problem @wyanlord you can write down your code so I can be more helpful.

@kataras kataras closed this Aug 14, 2019

@kataras kataras added the question label Aug 14, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.