- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cifs - too much in the logfile.. -every opened fi...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 09:09 PM
03-06-2006 09:09 PM
Cifs - too much in the logfile.. -every opened file is logged.
"
[2006/03/07 11:13:34, 1] smbd/service.c:(636)
coe-8mfkl0j (172.22.1.106) connect to service data as user report (uid=240, gid=21) (pid 21182)
[2006/03/07 11:13:34, 1] smbd/service.c:(675)
coe-8mfkl0j (172.22.1.106) closed connection to service data
[2006/03/07 11:13:34, 1] smbd/service.c:(636)
coe-8mfkl0j (172.22.1.106) connect to service data as user report (uid=240, gid=21) (pid 21182)
[2006/03/07 11:13:34, 1] smbd/service.c:(675)
coe-8mfkl0j (172.22.1.106) closed connection to service data:
"
I still want to have some logging, but not every file every user is opening (can be up to 20 users). is it possible to only log errors?
smb.conf:
# Global parameters
[global]
workgroup = SURVEY
netbios name = ODIN
server string = Odin Samba Server
security = SHARE
log level = 1
log file = /var/opt/samba/log.%m
username = report
valid users = report
[multidata]
comment = Odin Offline UX Server - Multidata
path = /multidata
guest ok = Yes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 09:58 PM
03-06-2006 09:58 PM
Re: Cifs - too much in the logfile.. -every opened file is logged.
Try log level 0 or 2.
One of those is the default and will reduce log volume.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2006 11:16 PM
03-06-2006 11:16 PM
Re: Cifs - too much in the logfile.. -every opened file is logged.
log level = 0
log level (G)
The value of the parameter (an integer) allows the debug level
(logging level) to be specified in the smb.conf file. This is to
give greater flexibility in the configuration of the system.
The default will be the log level specified on the command line
or level zero if none was specified.
Example: log level = 3
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 02:58 AM
03-16-2006 02:58 AM
Re: Cifs - too much in the logfile.. -every opened file is logged.
Also, use "max log size = 100" (or whatever) to configure the maximum log file size.
Also, I recommend upgrading to the A.02.02 version of HP CIFS Server if you can. If you cannot for some reason, then at least see if you can find an A.01.11.04 version. It's been removed from software.hp.com (for 11i), but you can find it on a CD set somewhere.
Eric Roseme
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2006 04:18 AM
03-16-2006 04:18 AM
Re: Cifs - too much in the logfile.. -every opened file is logged.
-d|--debug=debuglevel
debuglevel is an integer from 0 to 10. The default value if this
parameter is not specified is zero.
The higher this value, the more detail will be logged to the log
files about the activities of the server. At level 0, only criti-
cal errors and serious warnings will be logged. Level 1 is a rea-
sonable level for day-to-day running - it generates a small
amount of information about operations carried out.
Levels above 1 will generate considerable amounts of log data,
and should only be used when investigating a problem. Levels
above 3 are designed for use only by developers and generate HUGE
amounts of log data, most of which is extremely cryptic.
Note that this can also be set in /etc/opt/samba/smb.conf (man 5 smb.conf).
Josh