-
Notifications
You must be signed in to change notification settings - Fork 216
Logging
@trimstray edited this page May 19, 2018
·
2 revisions
You can file an issue about it and ask that it be added.
After running the script the log/
directory is created and in it the following files with logs:
-
<script_name>.<date>.log
- all_logger()
function calls are saved in it -
stdout.log
- a standard output and errors from the_init_cmd()
function are written in it. If you want to redirect the output from command, use the following structure:your_command >>"$_log_stdout" 2>&1 &