P
P
pcdesign2016-11-09 11:03:24
linux
pcdesign, 2016-11-09 11:03:24

How to get rid of repeated entries in the samba logs?

Logging configured in samba

[global]
##### LOGS
        log level = 0 vfs:2
        max log size = 0
        syslog = 0


 [export]
        path = /export
 vfs objects = full_audit
 full_audit:prefix = %u|%I
 full_audit:failure = none
 full_audit:success = mkdir rmdir open read pread write pwrite sendfile rename unlink lock
 full_audit:facility = local5
 full_audit:priority = debug

Everything works, only many entries are repeated many times:
Nov  9 10:57:58 nfs smbd[16229]: man8|192.168.1.17|open|ok|r|1_c/PD/Orders/Power supply
Nov  9 10:57:58 nfs smbd[16229]: man8|192.168.1.17|open|ok|r|1_c/PD/Orders/Power supply
Nov  9 10:57:58 nfs smbd[16229]: man8|192.168.1.17|open|ok|r|1_c/PD/Orders/Power supply
Nov  9 10:58:00 nfs smbd[16229]: man8|192.168.1.17|open|ok|r|1_c/PD/Orders/Power supply
Nov  9 10:58:00 nfs smbd[16229]: man8|192.168.1.17|open|ok|r|1_c/PD/Orders/Power supply
Nov  9 10:58:00 nfs smbd[16229]: man8|192.168.1.17|open|ok|r|1_c/PD/Orders/Power supply

How to get rid of these repetitions?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2016-11-09
@pcdesign

No way. These are real file openings. Many programs open a file several times - to see the rights, size, check the title, etc.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question