Skip to content

Commit

Permalink
To support testing, add logmsg.py which logs single message to log se…
Browse files Browse the repository at this point in the history
…rver.
  • Loading branch information
ggardner42 committed Jan 6, 2016
1 parent 2305c4e commit 351259a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions logmsg.py
@@ -0,0 +1,12 @@
#!/usr/bin/python

'''
Send a single message at INFO level to log server.
'''

import argparse
import sys
import util.log

logger = util.log.getLogger('NOTE')
logger.info(' '.join(sys.argv[1:]))

0 comments on commit 351259a

Please sign in to comment.