diff options
author | ramon <ramongomez@us.es> | 2014-02-27 08:16:03 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2014-02-27 08:16:03 +0000 |
commit | de734df0c4cac36ca934ed98e9eab9470d6d0a84 (patch) | |
tree | ca8b0f6ddc4f4c1eb1be818c5a706da05ac4febc /client/engine/System.lib | |
parent | 21c226b78526a441251e2aaee08a693e2c9b5585 (diff) |
#537 #636: Redirecciones correctas de mensajes de error en funciĆ³n {{{ogRaiseError}}}.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4162 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/engine/System.lib')
-rwxr-xr-x | client/engine/System.lib | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/client/engine/System.lib b/client/engine/System.lib index 43b2e953..0275d0a3 100755 --- a/client/engine/System.lib +++ b/client/engine/System.lib @@ -37,9 +37,7 @@ esac DATETIME=$(date +"%F %T") if [ -n "$LOGLEVEL" ]; then - logger -s -t "OpenGnSys $LOGLEVEL" -f $OGLOGFILE "$DATETIME $*" - logger -t "OpenGnSys $LOGLEVEL" -f $OGLOGCOMMAND "$DATETIME $*" - logger -t "OpenGnSys $LOGLEVEL" -f $OGLOGSESSION "$DATETIME $*" + logger -s -t "OpenGnSys $LOGLEVEL" "$DATETIME $*" 2>&1 | tee -a $OGLOGFILE $OGLOGCOMMAND $OGLOGSESSION else echo "$*" fi |