+1
0
-1
1
answer

change rotate file name with file_cycle

Hello :),

I make a file rotation when my logs size exceed with 'file_cycle'.

I have something like this : 

    Exec    if outUDP->file_size() > 10k  \
            {  \
                log_info('size exceeded');  \
                file_cycle(%LOGDIR% + $programSource + '\\' + get_var('date') + '.log'); \
                outUDP->reopen();  \
            }

So my logs paths are :

AskedMarch 29, 2017 - 5:11pm
+1
0
-1
0
answers

Error 1401. System error 87. When trying to install under Win32_Process

I get this error:

 

MSI (s) (E4:9C) [19:13:39:684]: Product: NXLog-CE -- Error 1401. Could not create key: S-1-5-21-1688939787-1905098679-239004068-17022\Software\Microsoft.  System error 87.  Verify that you have sufficient access to that key, or contact your support personnel.

AskedMarch 29, 2017 - 4:49pm
+1
0
-1
1
answer

Struggling getting SMTP logs to work.

Hi All,

I have previously got smtp logs to go into Graylog using NXlog, it was worknig fine. I then had a disk sapce issue on the graylog host so had to redo some bits, including the nxlog.conf for our SMTP server. 

The SMTP log header specifes the following

AskedMarch 27, 2017 - 12:46pm
+1
0
-1
0
answers

syslog rotation - dated file naming

I'm struggling with rotating syslog files at midnight so that they are named "YYYY-MM-DD.log" (and contain log records for that date).

I wonder if anyone has an example of the best way to achieve this.  The manual could use an example like this.

Thanks

Phil

 

 

AskedMarch 26, 2017 - 8:01am

Pages