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

Can i put the logs into my another log file? #15

Open
Ravlyon opened this issue Oct 21, 2019 · 2 comments
Open

Can i put the logs into my another log file? #15

Ravlyon opened this issue Oct 21, 2019 · 2 comments
Labels

Comments

@Ravlyon
Copy link

Ravlyon commented Oct 21, 2019

I use supervisor to start my project, how can i put logs into "error.log" but not "access.log" using golog?

@Ravlyon
Copy link
Author

Ravlyon commented Oct 23, 2019

hello~

@kataras
Copy link
Owner

kataras commented Nov 6, 2019

Hello @Ravlyon, you can change the output to whatever file you need. See the examples.

I am not using linux supervisor tool in order to know how it works internally. Could you please give us an example of the std log package of go or other log package so I could write you the equivalent code for golog?

Thanks and sorry for the delay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants