Changeset 2340


Ignore:
Timestamp:
Oct 7, 2013, 9:55:00 AM (5 years ago)
Author:
matthijs
Message:

samba3: Restore original logging code for debugging

When logging is enabled in the package configuration, before some
simplified logging code that didn't even log everything was used. Now,
the original logging code is used again.

Note that by default logging is disabled at compile time (and thus this
patch should not affect the generated binary normally), but it can be
enabled through a package option.

Location:
trunk/fon/samba3
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/fon/samba3/files/etc/fonstated/ReloadSamba

    r2298 r2340  
    2525                f:write("       workgroup = "..s.workgroup.."\n")
    2626                f:write("       server string = "..s.description.."\n")
    27                 f:write("       syslog = 10\n")
     27                f:write("# Log level only works if logging was enabled at compile time!")
    2828                f:write("       encrypt passwords = true\n")
    2929                f:write("       passdb backend = smbpasswd\n")
  • trunk/fon/samba3/files/etc/fonstated/RestartSamba

    r2298 r2340  
    2525                f:write("       workgroup = "..s.workgroup.."\n")
    2626                f:write("       server string = "..s.description.."\n")
    27                 f:write("       syslog = 10\n")
     27                f:write("# Log level only works if logging was enabled at compile time!")
     28                f:write("log level = 3\n")
    2829                f:write("       encrypt passwords = true\n")
    2930                f:write("       passdb backend = smbpasswd\n")
Note: See TracChangeset for help on using the changeset viewer.