[X2go-Commits] x2goserver.git - master (branch) updated: 3.0.99-2-232-gddcb395

X2go dev team git-admin at x2go.org
Fri Sep 9 18:45:00 CEST 2011


The branch, master has been updated
       via  ddcb3950ca7df0790a328acbfbaf9fe462fff83b (commit)
      from  b8c1e92197897609a27f7c13ccc2b30bb993a373 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit ddcb3950ca7df0790a328acbfbaf9fe462fff83b
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Sep 9 18:46:09 2011 +0200

    Fix for x2godbwrapper.pm: we can't open/close the syslog socket in a package. This has to be done by the scripts that use x2godbwrapper.pm.

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog                |    2 ++
 x2goserver/lib/x2godbwrapper.pm |    6 ------
 2 files changed, 2 insertions(+), 6 deletions(-)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 7f597df..6d3801e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -44,6 +44,8 @@ x2goserver (3.0.99.5-0~x2go3) UNRELEASED; urgency=low
   * Add debugging support for almost all DB functions in x2godbwrapper.pm, fix
     for Syslog module initialization in all Perl scripts.
   * Add info loglevel messages for all scripts in bin dir.
+  * Fix for x2godbwrapper.pm: we can't open/close the syslog socket in a
+    package. This has to be done by the scripts that use x2godbwrapper.pm.
 
   [ Martin Oehler ]
   * Removes old debug code fragment, fixes x2golistsessions parsing.
diff --git a/x2goserver/lib/x2godbwrapper.pm b/x2goserver/lib/x2godbwrapper.pm
index 6ce0cd1..bce67d3 100644
--- a/x2goserver/lib/x2godbwrapper.pm
+++ b/x2goserver/lib/x2godbwrapper.pm
@@ -30,9 +30,6 @@ my $x2go_lib_path=`echo -n \$(x2gobasepath)/lib/x2go`;
 use lib `echo -n \$(x2gobasepath)/lib/x2go`;
 use x2gologlevel;
 
-openlog($0,'cons,pid','user');
-setlogmask( LOG_UPTO(x2gologlevel()) );
-
 
 my ($uname, $pass, $uid, $pgid, $quota, $comment, $gcos, $homedir, $shell, $expire) = getpwuid(getuid());
 
@@ -587,6 +584,3 @@ sub db_listsessions_all
 		return split("\n",`$x2go_lib_path/x2gosqlitewrapper listsessions_all`);
 	}
 }
-
-# closing syslog 
-closelog;
\ No newline at end of file


hooks/post-receive
-- 
x2goserver.git (X2go Server)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "x2goserver.git" (X2go Server).




More information about the x2go-commits mailing list