You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Miller, Christopher M CIV USARMY MEDCOM AISR (US)" <ch...@mail.mil> on 2019/06/17 20:16:15 UTC

Subversion Logging for RHEL systemd


Hi, I'm setting up Subversion v 1.7.14 on a RHEL7 VM and need to setup logging on the server side.  Want to keep better tabs on end users.  

I see directions online for init.d, however I'm working with systemd and not really sure how to go about it.  


https://stackoverflow.com/questions/11867141/how-do-i-get-the-svn-server-log


I've made the following:  touch /var/log/svnserve.log 

Since this is systemd, I'm not sure what command to run to setup the logging.  Not sure if anyone else has done this or set this up.

thanks



Christopher M. Miller, MIS, Network+, A+, Linux+, Security+, C|EH, RHCSA 
Linux System Administrator Battlefield Health & Trauma Research 
Institute (BHTRI) / US Army Institute of Surgical Research (AISR)
3698 Chambers Pass, Building 3611
Ft. Sam Houston, TX  78234-6315
210 539 3299


Re: [Non-DoD Source] Re: Subversion Logging for RHEL systemd

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Miller, Christopher M CIV USARMY MEDCOM AISR (US),
am Dienstag, 18. Juni 2019 um 13:53 schrieben Sie:

> I'm still learning systemd and not sure how to setup logging with
> svnserve, so that it runs in the background continuously.  

Either you are asking for how to setup svnserve using systemd in
general OR you are specifically asking for how to enable logging for
svnserve. Both topics are independant of each other, that's my
point.

How to enable logging is answered in your SO-question already, an
example for systemd instead could be like the following:

> [Unit]
> Description=[...]
> Requires=network-online.target
> After=network-online.target
>
> [Install]
> WantedBy=multi-user.target
>
> [Service]
> WorkingDirectory=/home/[...]
> ExecStart=/usr/bin/svnserve --daemon --root /home/[...] --log-file [...] --listen-host [...] --listen-port [...]
>
> Type=forking
> Restart=on-failure
> RestartSec=30
>
> User=[...]
> Group=[...]
>
> # http://svnbook.red-bean.com/nightly/en/svn.serverconfig.multimethod.html
> UMask=0002

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


RE: [Non-DoD Source] Re: Subversion Logging for RHEL systemd

Posted by "Miller, Christopher M CIV USARMY MEDCOM AISR (US)" <ch...@mail.mil>.

I'm still learning systemd and not sure how to setup logging with svnserve, so that it runs in the background continuously.  

I'll keep researching then and thanks for the help. 


Christopher M. Miller, MIS, Network+, A+, Linux+, Security+, C|EH, RHCSA 
Linux System Administrator Battlefield Health & Trauma Research 
Institute (BHTRI) / US Army Institute of Surgical Research (AISR)
3698 Chambers Pass, Building 3611
Ft. Sam Houston, TX  78234-6315
210 539 3299






 

-----Original Message-----
From: Thorsten Schöning [mailto:tschoening@am-soft.de] 
Sent: Tuesday, June 18, 2019 4:21 AM
To: users@subversion.apache.org
Subject: [Non-DoD Source] Re: Subversion Logging for RHEL systemd

All active links contained in this email were disabled.  Please verify the identity of the sender, and confirm the authenticity of all links contained within the message prior to copying and pasting the address to a Web browser.  




----

Guten Tag Miller, Christopher M CIV USARMY MEDCOM AISR (US), am Montag, 17. Juni 2019 um 22:16 schrieben Sie:

> I've made the following:  touch /var/log/svnserve.log

Doesn't your SO-question make clear that simply providing the arg "--log-file=[...]" is enough already? I don't see what this has to do with init.d and touching anything.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      Caution-http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow


Re: Subversion Logging for RHEL systemd

Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Miller, Christopher M CIV USARMY MEDCOM AISR (US),
am Montag, 17. Juni 2019 um 22:16 schrieben Sie:

> I've made the following:  touch /var/log/svnserve.log

Doesn't your SO-question make clear that simply providing the arg
"--log-file=[...]" is enough already? I don't see what this has to do
with init.d and touching anything.

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/

Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04

AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow