Skip to content

Commit

Permalink
Merge branch 'master' of github.com:d4ndox/mnp
Browse files Browse the repository at this point in the history
  • Loading branch information
d4ndox committed Mar 26, 2024
2 parents 1195824 + dce5517 commit d8ed730
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,7 @@ Try to avoid ```// My comment```.
- Every error should be printed to stderr,
- User information should be printed to stdout.

syslog is necessary if a process can't access the terminal ttyS0.
This might be the case for mnp, because it is called by monero_wallet_rpc and mnpd, which is run as a daemon.
Output to stdout and stderr might get lost. For this case it is usefull to
write messages to a log file.
Use syslog where it makes sense to do so:

- LOG_ERR: use this, side by side with every error printed to stderr,
- LOG_INFO: use this for verbose output. If --verbose option is set,
Expand Down

0 comments on commit d8ed730

Please sign in to comment.