Others > General

Samba Log

<< < (3/3)

Matthias:
max log size = 500
log file = /var/log/samba-log

Damit sollte MLD nicht in die messages sondern nach samba-log alle von samba protokollieren.


smb.conf          
[global]
        workgroup = workgroup
        netbios name = MLD
        log level = 0
        max log size = 500
        log file = /var/log/samba-log

Ich habs mal so probiert. Er legt auch die Datei samba-log an. Schreibt aber weiter in die messages rein :wand



Matthias  

Matthias:

--- Quote --- max log size = 500
log file = /var/log/samba-log

Damit sollte MLD nicht in die messages sondern nach samba-log alle von samba protokollieren.


smb.conf         
[global]
        workgroup = workgroup
        netbios name = MLD
        log level = 0
        max log size = 500
        log file = /var/log/samba-log

Ich habs mal so probiert. Er legt auch die Datei samba-log an. Schreibt aber weiter in die messages rein :wand



Matthias
--- End quote ---
Auch nicht schlecht...
Mit:
        log level = 1
        max log size = 500
        log file = /var/log/samba-log

Jetzt schreibt er in die messages und in samba-log, aber unterschiedliche Events  :(

samba-log:
[2007/01/15 17:49:58, 1] lib/account_pol.c:account_policy_get(196)
  account_policy_get: tdb_fetch_uint32 failed for field 4 (maximum password age)
, returning 0


Matthias

sausi:
Schau dir mal hier Using Samba an.


--- Quote ---log level (debug level)  |numerisch (0-10)|Setzt die Summe von Log/Debug-Meldungen, die zur Logdatei gesendet werden.| 0 ist keine, 3 ist beträchtlich.
--- End quote ---


Jörg

Matthias:

--- Quote --- Schau dir mal hier Using Samba an.


--- Quote ---log level (debug level)  |numerisch (0-10)|Setzt die Summe von Log/Debug-Meldungen, die zur Logdatei gesendet werden.| 0 ist keine, 3 ist beträchtlich.
--- End quote ---

Jörg
--- End quote ---
Also ich habe mal diverse loglevel probiert.
Führt nur dazu das Samba verschiedene Logmeldungen in die neu erstellte Log Datei kopiert.

OK, ist nicht wirklich so wichtig.

Matthias

Navigation

[0] Message Index

[*] Previous page

Go to full version