Skip to content

Add options or expose method to set logger output media #698

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

Closed
naughtyGitCat opened this issue Jun 9, 2022 · 0 comments · Fixed by #699
Closed

Add options or expose method to set logger output media #698

naughtyGitCat opened this issue Jun 9, 2022 · 0 comments · Fixed by #699

Comments

@naughtyGitCat
Copy link

now default output to console, in some circumstance

nohup main &> /tmp/canal.log & 

may cause the partition no free space, and cause the whole system to hang

So, It will be better to take these solutions into think:

  1. Add options when new canal struct, set logger, or pass a user-defined logger
  2. Add options when new canal struct, set mute or to some file, better rotated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant