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

log Console #123

Closed
litliq opened this issue Jan 15, 2019 · 2 comments
Closed

log Console #123

litliq opened this issue Jan 15, 2019 · 2 comments

Comments

@litliq
Copy link

litliq commented Jan 15, 2019

通过守护进程模式启动,控制台无法打印log

  • /dev/stdout, write log to stdout
  • /dev/stderr, write log to stderr
    这两种方式都不行,只能通过文件方式保存到本地,但是不直观
    现在既想log保存到本地,又想打印到控制台,请问有方法吗?
ochinchina pushed a commit that referenced this issue Jan 26, 2019
@ochinchina
Copy link
Owner

Please set the log file to /dev/stdout to print the log to console. If you want to print the log to both file and console, please set the log file as:

stdout_logfile = my_app.log, /dev/stdout

because now this supervisord supports multiple log files which is separated with comma ","

@litliq litliq closed this as completed Jan 27, 2019
pinkeen pushed a commit to pinkeen/supervisor-golang that referenced this issue Sep 3, 2019
stanchan pushed a commit to stanchan/supervisord that referenced this issue Oct 26, 2019
@gerroon
Copy link

gerroon commented Jul 17, 2021

How can I do this in Windows given no /dev/stdout exists?

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

No branches or pull requests

3 participants