Skip to content

Logging

@trimstray edited this page May 19, 2018 · 2 revisions

Welcome to the Sandmap wiki!

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 &
Clone this wiki locally