Thanks I will try that
2014-07-23 23:50 GMT+02:00 Jan Just Keijser <janj...@nikhef.nl>:
> Hi,
>
>
> On 23/07/14 17:25, Marine B wrote:
>
>> Good Afternoons
>>
>> I wanted to use the syslog option, for rsyslog to send my output to a
>> central server.
>>
>> I manage to redirect my output to syslog, but I do not know the name of
>> the log type.
>>
>> In my configuration I used
>> syslog openvpn
>>
>> Therefore, I thought that I coul send my log to a remote server by
>> editing the rsyslog.conf this way
>>
>> openvpn.* @@<server>:<port>
>>
>>
>> But openvpn seems to not be the right tags
>>
>> (Sorry If my explaination are not at the best, I barely started using
>> rsyslog)
>>
>>
>> this is more of a rsyslog question than an openvpn question; when
> specifying
> syslog openvpn
> openvpn will send all messages to syslog with program name set to
> 'openvpn' ; the level at which messages are logged is something else,
> however. Normally the messages are sent with facility LOG_DAEMON and level
> LOG_ERR, LOG_NOTICE etc.
>
> You could try filtering these out in rsyslog using
>
> daemon.* @@....
>
> HTH,
>
> JJK
>
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users