OpenWrt Forum Archive

Topic: OpenWrt SAMBA log

The content of this topic has been archived on 8 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Как корректно сделать вывод логов самбы?

How to properly conclude the samba logs?

smb.conf.template

[global]
...
    log level = 10
              max log size = 10000
    log file = /mnt/srv/torrent/%m.log
...

Создает логи ip.log namepc.log

Creates logs ip.log namepc.log

http://s45.radikal.ru/i109/1508/86/6b2ed1f892c0.png

Но создаваемые логи пустые.

But the logs are created empty.

Как сделать вывод логов корректно?

How to properly conclude the logs?

(Last edited by sir90 on 28 Aug 2015, 07:15)

samba is compiled by default with no debug

PACKAGE_SAMBA_MAX_DEBUG_LEVEL
1000 - include all debug messages                                                                                                                                                         
2       - include only important messages                                                                                                                                                   
-1      - disable debug messages completely   

if you need it compile it new with Openwrt Builtroot or SDK

(Last edited by trismo on 28 Aug 2015, 08:24)

trismo wrote:

samba is compiled by default with no debug

PACKAGE_SAMBA_MAX_DEBUG_LEVEL
1000 - include all debug messages                                                                                                                                                         
2       - include only important messages                                                                                                                                                   
-1      - disable debug messages completely   

if you need it compile it new with Openwrt Builtroot or SDK


C SDK не дружу, можно уже готовый  *.ipk прислать для Barrier_breaker 14.07 ar71xx ?

I'm not good SDK, you can already ready to send * .ipk Barrier_breaker 14.07 ar71xx?

The discussion might have continued from here.