Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#10841 closed defect (worksforme)

options set for logging in UCI with default syslogger ignored

Reported by: camden.lindsay+openwrt@… Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc: camden.lindsay+openwrt@…, jeremydayledawson+openwrt@…

Description

Hello-

running trunk r29614

have the following items set in uci system:

root@Netgear:~# uci show system.\@system[0]
system.cfg02e48a=system
system.cfg02e48a.hostname=Netgear
system.cfg02e48a.zonename=America/Los Angeles
system.cfg02e48a.timezone=PST8PDT,M3.2.0,M11.1.0
system.cfg02e48a.log_file=/overlay/root/messages
system.cfg02e48a.klogconloglevel=9
system.cfg02e48a.cronloglevel=0

Which puts the following in /etc/config/system:

config 'system'
	option 'hostname' 'Netgear'
	option 'zonename' 'America/Los Angeles'
	option 'timezone' 'PST8PDT,M3.2.0,M11.1.0'
	option 'log_file' '/overlay/root/messages'
	option 'klogconloglevel' '9'
	option 'cronloglevel' '0'

Yet, syslogd still starts in the typical manner without logging to file:

root@Netgear:/etc/config# ps | grep syslog
  624 root      1484 S    /sbin/syslogd -C16
 2575 root      1468 S    grep syslog

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by camden.lindsay+openwrt@…

Please close, i missed the 'log_type' flag :( Sorry!!

comment:2 Changed 6 years ago by jow

  • Resolution set to worksforme
  • Status changed from new to closed

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.