You can't.
'syslog = 0' will be map onto LOG_ERR.
u.
Il mer, 2004-07-28 alle 08:28, Nicole H?hnel ha scritto:
> Hi,
>
> when starting samba it logs the following text to /var/log/messages,
> although I have added syslog only = no and syslog = 1.
>
> Samba's log file is /var/log/samba...
>
> How can I disable logging to syslog?
>
> Thanks!
>
> Nicole
>
>
> Jul 28 08:19:11 Domino1 smb: Starten von smbd succeeded
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/asyncdns.c:start_async_dns(149)
> Jul 28 08:19:11 Domino1 nmbd[6667]: started asyncdns process 6668
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/nmbd_logonnames.c:add_logon_names(163)
> Jul 28 08:19:11 Domino1 nmbd[6667]: add_domain_logon_names:
> Jul 28 08:19:11 Domino1 nmbd[6667]: Attempting to become logon server
> for workgroup TEST on subnet xx.xx.xx.xx
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/nmbd_logonnames.c:add_logon_names(163)
> Jul 28 08:19:11 Domino1 nmbd[6667]: add_domain_logon_names:
> Jul 28 08:19:11 Domino1 nmbd[6667]: Attempting to become logon server
> for workgroup TEST on subnet UNICAST_SUBNET
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327)
> Jul 28 08:19:11 Domino1 nmbd[6667]: become_domain_master_browser_wins:
> Jul 28 08:19:11 Domino1 nmbd[6667]: Attempting to become domain master
> browser on workgroup TEST, subnet UNICAST_SUBNET.
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341)
> Jul 28 08:19:11 Domino1 nmbd[6667]: become_domain_master_browser_wins:
> querying WINS server from IP xx.xx.xx.xx for domain master browser name
> TEST<1b> onJul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11,
0]
> nmbd/nmbd_logonnames.c:become_logon_server_success(124)
> Jul 28 08:19:11 Domino1 nmbd[6667]: become_logon_server_success: Samba
> is now a logon server for workgroup TEST on subnet UNICAST_SUBNET
> Jul 28 08:19:11 Domino1 smb: Starten von nmbd succeeded
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
> Jul 28 08:19:11 Domino1 nmbd[6667]: *****
> Jul 28 08:19:11 Domino1 nmbd[6667]:
> Jul 28 08:19:11 Domino1 nmbd[6667]: Samba server SAMBA is now a domain
> master browser for workgroup TEST on subnet UNICAST_SUBNET
> Jul 28 08:19:11 Domino1 nmbd[6667]:
> Jul 28 08:19:11 Domino1 nmbd[6667]: *****
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
> Jul 28 08:19:11 Domino1 nmbd[6667]: become_domain_master_browser_bcast:
> Jul 28 08:19:11 Domino1 nmbd[6667]: Attempting to become domain master
> browser on workgroup TEST on subnet 172.27.18.183
> Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0]
> nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
> Jul 28 08:19:11 Domino1 nmbd[6667]:
> become_domain_master_browser_bcast: querying subnet xx.xx.xx.xx for
> domain master browser on workgroup TEST
_______________________
Umberto Zanatta
linuxDidattica
tel: +39 (335) 54 71 385
email: umberto.z@tin.it
web: http://linuxdidattica.org
_______________________