-
Notifications
You must be signed in to change notification settings - Fork 4
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
Logging of console output #3
Comments
Hello @gerbsen, For what regards logging, generally, you should be able to write the output of a program by using this syntax: program &>/path/to/logfile so I guess you can try to edit the init script by adding if start-stop-daemon --background --make-pidfile --pidfile $PIDFILE -o --chuid $USER:$GROUP --start --startas "$APP_DIR/$APP_BIN" -- $APP_ARGS &>/path/to/logfile ; then Be sure to specify the right path. I haven't tried this tough, so please let me know if it work. Regards |
Also you can have a look here for a more detailed explanation and more examples: http://upstart.ubuntu.com/wiki/Debugging |
Okay, thanks for your quick reply. Unfortunately I just found out that |
Ok. Please let me know how it goes. If you are successful and find an easy way to do it we may integrate the feature in the script. |
Okay, I will open a new issue. |
hey @lmammino, thanks for this easy to use install script!
Just one question: is it possible to write the log messages to a log file?
Cheers, Daniel
The text was updated successfully, but these errors were encountered: