From 7d913452f58534ae0bf63af3488c46b4b9eb6b2f Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Thu, 21 May 2009 15:22:44 -0400 Subject: [PATCH] Point GJS_DEBUG_OUTPUT to stderr Recent gjs changes have made it log most types of messages (including log() calls) only to a configured log file and not to stderr. So, set GJS_DEBUG_OUTPUT=stderr to make *stderr* the log file and get our log() calls back. --- src/gnome-shell.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gnome-shell.in b/src/gnome-shell.in index 2e4b97cde..1cb2008ab 100755 --- a/src/gnome-shell.in +++ b/src/gnome-shell.in @@ -152,6 +152,9 @@ def start_shell(): if os.path.exists(mozjs_libdir + '/libmozjs.so'): env['LD_LIBRARY_PATH'] = os.environ.get('LD_LIBRARY_PATH', '') + ':' + mozjs_libdir + # Log everything to stderr (make stderr our "log file") + env['GJS_DEBUG_OUTPUT'] = 'stderr' + if not options.verbose: # Unless verbose() is specified, only let gjs show errors and # things that are explicitly logged via log() from javascript