page_title: Su-log-2010-10-04 page_touched: 20101021171407 old_text: ==Monday== * Read mail * Employee survey

==Tuesday== * Deal with log problems and implement log rotation for stanfordwho * Debug how to get log4j to output to syslog. Two changes required.

log4j.properties

# Logging to a file
#log4j.rootLogger = DEBUG,A1
#log4j.appender.A1 = org.apache.log4j.ConsoleAppender
#log4j.appender.A1.layout = org.apache.log4j.PatternLayout
#log4j.appender.A1.layout.ConversionPattern = %d [%t] %-5p %c - %m%n

# Logging to syslog
log4j.rootLogger = DEBUG,syslog
log4j.appender.syslog=org.apache.log4j.net.SyslogAppender
log4j.appender.syslog.layout=org.apache.log4j.PatternLayout
log4j.appender.syslog.SyslogHost=localhost
log4j.appender.syslog.Facility=KERN
log4j.appender.syslog.threshold=DEBUG
log4j.appender.syslog.layout.ConversionPattern=%d{ISO8601} %-5p [%t] %c{2} %x - %m%n 

log4j.logger.edu.stanford.registry = DEBUG
log4j.logger.edu.stanford.newdirectory = DEBUG
log4j.logger.edu.stanford.swho = DEBUG
log4j.logger.org.springframework = INFO

/etc/syslog.conf

# $Id: syslog.conf 4230 2007-12-06 19:19:23Z rra $
#

# log4j syslog 
$ModLoad imudp
$UDPServerRun 514

# Default syslog config file

*.emerg                 *
*.debug                 /var/log/messages
*.err                   /dev/console

  • A ___ Implement syslog configuration for stanfordwho catalina.out
  • A ___ Status reports
  • A ___ Time Reporting
  • A ___ Axess time reporting for vacation time
  • A ___ Rebuild livespace
  • B ___ Work through issues with IM at Livermore
  • B ___ Test hiding GALSyncDate
  • B ___ Select subset of accounts my workgroup by ip address

==Wednesday== * A X Implement syslog configuration for stanfordwho catalina.out * A Status reports * A Time Reporting * A Axess time reporting for vacation time * A X Rebuild livespace * B Work through issues with IM at Livermore * B Test hiding GALSyncDate * B Select subset of accounts my workgroup by ip address from directory * A Request Firewall rule to allow script to watch /etc/nostanfordwho * A livespace plugin description * A X livespace server build doc * A X livespace backup script that matches ikiwiki docs. Verified that postgres backups are hitting AFS. Corrected problem with keytab. Did not fix problem with format of the backup and just used the default backup that Jive performs. This should probably be changed at some point to use known backup switches to make it easier to restore the database. * A interface to ldap log summary * A interface to mail distribution stats * A X Note about changes to loggging in stanfordwho account services * A ___ ldap public documentation update

  • Work Researched problem with mail attribute not appearing on a user entry Fix tripwire for guest-dev2 and im-db1. File helpsu for mail attribute problem Modify puppet and deploy catalina.out -> syslog configuration ** Create account services team chat room

==Thursday== * A X Status reports * A Time Reporting * A X Axess time reporting for vacation time * B Work through issues with IM at Livermore * B Test hiding GALSyncDate * B Select subset of accounts my workgroup by ip address from directory * B Request Firewall rule to allow script to watch /etc/nostanfordwho * B livespace plugin description * B interface to ldap log summary * B interface to mail distribution stats * B ___ ldap public documentation update

  • Work Read mail Set out of office

==Friday== * Look at IM problem reported by Noah. Try updating NULL nicknames.

update ofRoster r join ofUser u on (u.username=substring_index(jid,'@',1)) set r.nick=u.name where r.username='nbfa' and nick is null;

SUDailyLogs 114. row