Browse Source

Now ee arguments goes to ee log

bugfixes
gau1991 10 years ago
parent
commit
5c1075d847
  1. 5
      ee/cli/main.py

5
ee/cli/main.py

@ -30,6 +30,7 @@ defaults['ee']['plugin_dir'] = '/var/lib/ee/plugins'
# External templates (generally, do not ship with application code)
defaults['ee']['template_dir'] = '/var/lib/ee/templates'
class EEArgHandler(ArgParseArgumentHandler):
class Meta:
label = 'ee_args_handler'
@ -80,6 +81,7 @@ app = EEApp()
def main():
try:
global sys
# Default our exit status to 0 (non-error)
code = 0
@ -91,6 +93,9 @@ def main():
# Setup the application
app.setup()
# Dump all arguments into ee log
app.log.debug(sys.argv)
# Run the application
app.run()
except exc.EEError as e:

Loading…
Cancel
Save