Red Hat NETSCAPE ENTREPRISE SERVER 6.1 - 08-2002 ADMINISTRATOR Technical Information Seite 100

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 126
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 99
88 Deploying Samba on IBM Eserver BladeCenter
The global log parameters will look similar to what is shown in Example 5-13.
Example 5-13 Log settings
log limit = 2
log file = /var/log/samba/log.%m
max log size = 50
Log level setting of 2 will result in log entries similar to Example 5-14.
Example 5-14 Level 2 log entries
[2002/11/12 09:29:31, 2] libsmb/namequery.c:name_query(421)
Got a positive name query response from 9.24.104.164 ( 9.24.104.164 )
[2002/11/12 09:29:31, 0] smbd/service.c:make_connection(251)
m23bzzkv (9.24.104.164) couldn't find service ::{2227a280-3aea-1069-a2de-08002b30309d}
[2002/11/12 09:29:32, 1] smbd/service.c:close_cnum(675)
m23bzzkv (9.24.104.164) closed connection to service redbook
[2002/11/12 09:29:32, 1] smbd/service.c:close_cnum(675)
m23bzzkv (9.24.104.164) closed connection to service public
The log level parameter settings are described in Table 5-2.
Table 5-2 Log level settings
There can be more than one log file parameter set in the configuration file. Each parameter
instance will result in the creation of the specified log files.
The most useful log file settings are listed in Table 5-3.
Table 5-3 Useful log file settings
Samba always creates log files for the smbd and the nmbd daemons in /var/log/samba. The
smbd log is usually named log.smbd and the nmbd is usually named log.nmbd. The log level
max log size Integer value setting the maximum size of the log file in kilobytes. File name
is appended with .old and a new file is created when this limit is reached.
Default value is 5000.
Level Description
0 Only critical failures are recorded, such as failing to open a log file, dropping
a connection, or receiving an unknown command.
1 Connection and session information is logged.
2-4 System administration debugging information is logged.
5-9 Moderate developer debugging information is logged.
10 Full developer debugging information is logged.
Parameter setting Log created
log file = /var/log/samba/log.%m Create a log file for each connecting client.
log file = /var/log/samba/log.%S Create a log file for recording all share activity.
log file = /var/log/samba/log.%U Create a log file for recording all user activity.
Parameters Descriptions
Seitenansicht 99
1 2 ... 95 96 97 98 99 100 101 102 103 104 105 ... 125 126

Kommentare zu diesen Handbüchern

Keine Kommentare