Remove Automation logging information

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Remove Automation logging information

Post by Rno »

Hello,
Simple question,
How can I get rid of all automation logging information, like that:
27/09/2024 00:35:56 - AUTOM8 NOTE: Graph Added - Device[lsamdsp02], Graph[lsamdsp02 - Traffic - port-channel11 - port-channel11 ], DS[lsamdsp02 - Traffic - port-channel11 - port-channel11] Graphs[lsamdsp02 - Traffic - port-channel11 - port-channel11 ], Rule[Traffic MDS]

I didn't find where I can tell automation to NOT log when a graph is created.

Thanks
It's on Cacti 1.2.27.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: Remove Automation logging information

Post by macan »

You can't. Only way is modify code. Second option - disable automation globally.
Let the Cacti grow!
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Remove Automation logging information

Post by Rno »

Ok thanks
I'm gona propose some code to add an option to remove that kind of log.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Remove Automation logging information

Post by cigamit »

What would be the reason for removing it? Logging is a very important aspect of monitoring, you need to know when things happen.
Rno
Cacti Pro User
Posts: 704
Joined: Wed Dec 07, 2011 9:19 am

Re: Remove Automation logging information

Post by Rno »

Well if the creation is working, I will see the graph (or tree action), if not I need to see the error.

Having a logg telling you every time:
Okay, it work

Will make me miss an error, just one maybe.

and still have the option dosen't mean you have to disable it.
Test
Almalinux
php 8.2.14
mariadb 10.6.16
Cacti 1.2.27
Spine 1.2.27
RRD 1.7.2
thold 1.8
monitor 2.5
syslog 3.2
flowview: 3.3
weathermap 1.0 Beta
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Remove Automation logging information

Post by cigamit »

I could see moving that logging to MEDIUM.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests