This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[Request] Do not display daemon events in Diagnostics > Log-System

Post/Debate your Suggestions & Requests of XigmaNAS here. This ONLY pertains to XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
uniss
Starter
Starter
Posts: 24
Joined: 29 Aug 2014 19:01
Location: Dnipro, Ukraine
Contact:
Status: Offline

[Request] Do not display daemon events in Diagnostics > Log-System

Post by uniss »

Add in 'Diagnostics > Settings' the checked option "Do not display daemon events in 'Diagnostics > Log-System'"
because there is a separate filter 'Diagnostics > Log-Daemons'.
I have 1160 messages from 1210 like this:
"Tracker error:" Tracker gave HTTP response code 0 (No Response) "(torrent.c: 581)"
and the system log becomes completely useless.
:idea: HP N40L, 16 GB RAM, 3x8TB WD Red, 3x4TB WD Red, XN 12.1.0.4.7091 embedded

User avatar
ms49434
Developer
Developer
Posts: 828
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: [Request] Do not display daemon events in Diagnostics > Log-System

Post by ms49434 »

To stop transmission-daemon logging into syslog, redirect the log to a different location.
Add transmission_flags to System > Advanced > rc.conf
system_rcconf_edit.png
and restart the service.
Man pages for transmission-daemon can be found here
You do not have the required permissions to view the files attached to this post.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

User avatar
uniss
Starter
Starter
Posts: 24
Joined: 29 Aug 2014 19:01
Location: Dnipro, Ukraine
Contact:
Status: Offline

Re: [Request] Do not display daemon events in Diagnostics > Log-System

Post by uniss »

As I understand it, when redirecting a logging transmission records will disappear and from 'Log-System', and from 'Log-Daemons'.
So I wrote "Do not display...'" instead of "Stop logging...".
If a section 'Daemons' is present, why are its entries displayed in the 'System'?
:idea: HP N40L, 16 GB RAM, 3x8TB WD Red, 3x4TB WD Red, XN 12.1.0.4.7091 embedded

User avatar
ms49434
Developer
Developer
Posts: 828
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: [Request] Do not display daemon events in Diagnostics > Log-System

Post by ms49434 »

uniss wrote:
14 Mar 2020 10:00
As I understand it, when redirecting a logging transmission records will disappear and from 'Log-System', and from 'Log-Daemons'.
So I wrote "Do not display...'" instead of "Stop logging...".
If a section 'Daemons' is present, why are its entries displayed in the 'System'?
This is how the system has been configured. In general,
- all message having the faciility 'daemon' are logged in the daemon log.
- all messages having a severity level of 'notice' or higher are logged in the system.log.

Examples:
- A message with facility 'daemon' and 'warning' level will be logged in both logs,
- A message with facility 'daemon' and 'info' level will be logged only in the daemon log.

syslog.conf is the configuration file for the syslogd service which transmission uses by default.
The configuration file can be found under /var/etc/syslog.conf and is by default:

Code: Select all

xigmanas: ~# cat /var/etc/syslog.conf
local3.* %/var/log/sshd.log
local4.* %/var/log/rsyncd.log
local5.* %/var/log/smartd.log
ftp.* %/var/log/ftp.log
daemon.* %/var/log/daemon.log
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;mail.info;news.err;local0.none;local7.none %/var/log/system.log
security.* %/var/log/system.log
auth.info;authpriv.info %/var/log/system.log
*.emerg *
the script creating the above configuration file is /etc/rc.d/syslogd and additional logging can be configured in the WebGUI under System > Advanced > syslog.conf.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

Post Reply

Return to “Suggestions & Requests”