[gnome-shell] Point GJS_DEBUG_OUTPUT to stderr
- From: Owen Taylor <otaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-shell] Point GJS_DEBUG_OUTPUT to stderr
- Date: Thu, 21 May 2009 15:24:32 -0400 (EDT)
commit 7d913452f58534ae0bf63af3488c46b4b9eb6b2f
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Thu May 21 15:22:44 2009 -0400
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 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/gnome-shell.in b/src/gnome-shell.in
index 2e4b97c..1cb2008 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]