Skip to content

Commit

Permalink
snf-common: Add 'LOG_DIR' setting
Browse files Browse the repository at this point in the history
'LOG_DIR' is the directory where log files are saved and is going to be
used to determine where to store the management commands' output.

Ref #3: Log all stdout/stderr for snf-manage invocations
  • Loading branch information
iliastsi committed Mar 17, 2014
1 parent 9ba131c commit 4601e3f
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions snf-common/conf/00-snf-common-admins.conf
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,12 @@
#
## Email address the emails sent by the service will come from
#SERVER_EMAIL = "Synnefo cloud <[email protected]>"
#
#
## Synnefo logging directory
#############################
#
# Directory where log files are saved
# Currently only snf-manage uses this to save
# the output of the commands being executed.
#LOG_DIR = "/var/log/synnefo/"
9 changes: 9 additions & 0 deletions snf-common/synnefo/settings/default/admins.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,12 @@

# Email address the emails sent by the service will come from
SERVER_EMAIL = "Synnefo cloud <[email protected]>"


# Synnefo logging directory
############################

# Directory where log files are saved
# Currently only snf-manage uses this to save
# the output of the commands being executed.
LOG_DIR = "/var/log/synnefo/"

0 comments on commit 4601e3f

Please sign in to comment.