[X2Go-Commits] x2goserver.git - release/4.0.1.x (branch) updated: 3.0.99-2-232-gddcb395

X2Go dev team git-admin at x2go.org
Thu Jun 6 13:34:48 CEST 2013


The branch, release/4.0.1.x 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 -----------------------------------------------------------------
-----------------------------------------------------------------------

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