Alex Brandt | 16 Aug 2012 05:51
Gravatar

Python Logging Module and Metalog

Hello,

 

Are there any known issues with the python logging module and metalog? Everytime I try to use the python SysLogHandler to log to metalog the log entries are not printed in the standard format:

 

Aug 15 22:48:35 [sshd] Received disconnect from 67.202.4.96: 11: Bye! [preauth]

 

The format of the messages I'm getting are the following:

 

Aug 15 22:31:31 [INFO => singularity.communicators.xencommunicator] Recieved a watch event on data/host with token, COMMAND

 

The python format strings I'm using that cause this output are the following:

 

dhl.setFormatter(logging.Formatter("{0}: %(levelname)s => %(name)s: %(pathname)s:%(lineno)d in %(funcName)s: %(message)s".format(sys.argv[0]))) # pylint: disable=C0301

nhl.setFormatter(logging.Formatter("{0}: %(levelname)s => %(name)s: %(message)s".format(sys.argv[0]))) # pylint: disable=C0301

 

Any guidance would be appreciated but it might be my lack of understanding of the syslog communication as well.

 

Thanks in advance for any assistance.

 

Regards,

 

--

Alex Brandt

Sales Engineer for Rackspace, RHCE

http://www.alunduil.com

 

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
Gour | 24 Jul 2012 14:23
X-Face
Gravatar

systemd support

Is it possible to use metalog under systemd?

Anyone knows where to get service/socket suport files?

Sincerely,
Gour

-- 
It is far better to discharge one's prescribed duties, even though 
faultily, than another's duties perfectly. Destruction in the course 
of performing one's own duty is better than engaging in another's
duties, for to follow another's path is dangerous.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
Gour | 9 Jul 2012 09:08
X-Face
Gravatar

development status

Hello,

I'm happy metalog user for many years - first on Gentoo and in the last
5yrs on Archlinux.

However, I consider to switch to Frugalware linux soon where there is
no metalog package available and recently they replaced syslog-ng with
rsyslog, so I wonder what is the development status of metalog, iow. is
it still alive in order to either plan to prepare metalog package for
Frugalware or to adapt to rsyslog?

Sincerely,
Gour

-- 
Bewildered by the modes of material nature, the ignorant fully 
engage themselves in material activities and become attached. But 
the wise should not unsettle them, although these duties are inferior 
due to the performers' lack of knowledge.

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
Nguyễn Hoàng Lân | 2 Oct 2011 20:10
Picon
Gravatar

metalog.conf location?

Today I find a better (more suitable) for my vps and I found metalog.
I feel very unhappy to know that metalog is not available in some big distro (ubuntu in my case).

When I make change to metalog.conf, nothing changes with my /var/log directory.
I found another metalog.conf in /usr/local/etc but I think it's a sample file.

Where is exactly location of metalog.conf

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
Martin von Gagern | 6 Jun 2011 10:18
Picon

metalog-2 release?

Hi!

Wouldn't it be nice to have a new release of metalog? After all, version
1 was released over 2 years ago. I know there haven't been many commits,
but nevertheless those that did occur might warrant a release.

Greetings,
 Martin von Gagern

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
Mike Frysinger | 24 Jan 2011 03:11
Picon
Favicon
Gravatar

move to git

ive converted the svn tree to git and pushed it up
-mike
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
dorian | 10 Jul 2010 14:05
Picon
Favicon

BUG - incorrect rotate file naming

Hi all.
Please be informed that I've just found the bug in the metalog version 1.
I believe the same bug is present in previous versions (at least v.0.8
has one).

The bug concerns the rotate log file names creation.
Now the name is created using 'strftime' function with
"%Y-%m-%d-%H:%m:%S" format string which is incorrect one and should be
"%Y-%m-%d-%H:%M:%S".

Regards,
Dorian

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
ebuppies admin | 21 Dec 2009 23:31
Favicon

eBuppies.com - Offers New Online Dating Site for Black Urban Professionals


 <http://www.ebuppies.com/tellafriend.php>

 December 18, 2009

 <http://www.ebuppies.com/signup.php>

 Dear Friend, <http://www.ebuppies.com>

 eBuppies.com (www.ebuppies.com <http://www.ebuppies.com/signup.php>
) is a new online dating site that is dedicated to providing singles
from all over with the opportunity to connect with other buppy singles
in their local area or anywhere of their choice. 

 More and more buppy singles are going online to connect with others
because going out week after week to nightclubs and bars can be
tiresome, as well as expensive. eBuppies.com makes dating easy by
hosting hundreds of profiles of different singles looking for love.
Buppies can join on a monthly basis for less than they would probably
pay for one night at a nightclub or bar.

 Buppies who are looking for love, romance or just friendship now have
a unique resource that can help them discover their future soul mate:
eBuppies.com. 

 Although high technology drives eBuppies.com, the online dating site
is simple and easy for buppies to navigate. Buppies can register,
browse, search and contact other singles
<http://www.ebuppies.com/signup.php>
at no charge. There is also no charge for buppies to upload a photo
with their profile. A control panel enables buppies to customize
preferences based on their individual requirements. The control panel
also blocks undesired contacts for buppies' convenience.

 The pricing for membership is quite cost effective especially for the
average buppy. By January 31 2010 visitors can sign up for 1 Month and
get 30 Days extra membership exclusively through our THIRTYPLUS
<http://www.ebuppies.com/signup.php>
 promo code.

 For more information, visit www.ebuppies.com.
<http://www.ebuppies.com/signup.php>

 About eBuppies.com:

 eBuppies.com is a new online dating service based in San Francisco.
Its goal is to provide easy and affordable online dating to Black
Urban Professionals by using state of the art chat systems, instant
messaging, and forum technology to satisfy today's evolving online
community demands.

 Terms of use <http://www.ebuppies.com/index.php?page=terms_of_use>

 Contact Info:

 Name: Mr. F. Jackson

 Address: 1230 Market Street, #252

 City: San Francisco

 State: California

 Country: United States

 Zip: 94102

 Web Address: www.ebuppies.com <http://www.ebuppies.com/signup.php>

 Phone: 510-575-4124

 /

 /

 / / <http://www.ebuppies.com/signup.php>

 Site Statistics

 Special Offer!

 			Members in Last Week: 		
 			1 		

 Total Male eBuppies:
 			10 		

 			Total Female eBuppies: 		
 15 		

 Pictures in Last Week: 		
 0 		

 Members online: 		
 0

 News

 Women More Likely to Snoop Than Men

 Nov 24, 2009

 In the new film, Little Black Book, Brittany Murphy's character
engages in some high-tech snooping on her new boyfriend. Based...

 				more <http://www.ebuppies.com/signup.php>

 Internet Dating More Successful than Thought

 Nov 24, 2009

 Internet dating is proving a much more successful way to find
long-term romance and friendship for thousands of people than...

 				more <http://www.ebuppies.com/signup.php>

 			All News <http://www.ebuppies.com/signup.php>

 Poll

 <http://www.ebuppies.com/signup.php>

 Success Stories

 A Sister's Story

 Sep 11, 2009

 by				 			Monique <javascript:popUpScrollWindow2(>

 What initially started out as something to relieve a little boredom
and to have some fun turned into one of...

 more <http://www.ebuppies.com/signup.php>

 All Stories <http://www.ebuppies.com/signup.php>

 <http://www.ebuppies.com/signup.php>

 Welcome to eBuppies.com

 See why eBuppies.com is the fastest growing Black Urban Professional
relationship site on the web. Create your eBuppies.com profile to
begin the exciting journey towards finding your match.

 Members online: 0 <http://www.ebuppies.com/onlineusers.php>

 Don't stay alone, Join Now for Free
<http://www.ebuppies.com/signup.php>

 Newest eBuppies

 							 						kldixson 			 			 <http://www.ebuppies.com/signup.php>

 							 						systemsthinking 			
<http://www.ebuppies.com/signup.php>

 Show full list <http://www.ebuppies.com/signup.php>

 Newest Profiles

 brotherX <http://www.ebuppies.com/signup.php>

 *Age:*
 40

 *Gender:*
 Man

 *Looking for:*
 Woman

 *Location:*
 Albany, 

 California, 

 United States

 <javascript:popUpScrollWindow2(>

 No Pictures

 *Active wihin 1 week*
 View Profile <http://www.ebuppies.com/signup.php>

 kldixon <http://www.ebuppies.com/signup.php>

 *Age:*
 40

 *Gender:*
 Man

 *Looking for:*
 Woman

 *Location:*
 Oakland, 

 California, 

 United States

 <javascript:popUpScrollWindow2(>

 No Pictures

 *Active wihin 1 week*
 View Profile <http://www.ebuppies.com/signup.php>

 Login <http://www.ebuppies.com/signup.php>
 | 				 Privacy <http://www.ebuppies.com/signup.php>
 | 		 Terms of Use <http://www.ebuppies.com/signup.php>
 | 		 Services <http://www.ebuppies.com/signup.php>
 | 		 FAQ's <http://www.ebuppies.com/signup.php>
 | 		 Articles <http://www.ebuppies.com/signup.php>
 | 		 Affiliate <http://www.ebuppies.com/signup.php>
 | 	 Invite a Friend <http://www.ebuppies.com/signup.php>
 | 		 Feedback <http://www.ebuppies.com/signup.php>

<table cellspacing="0" cellpadding="2" border="0" width="100%">
    <tbody>
        <tr>
            <td colspan=3 align=right ><font face="arial,verdana"
size="2">If you do not want to receive any more newsletters, 
http://ebuppies.com/emailserv/?p=unsubscribe&uid=ceaac09f61f20e44fbb4e9cb14f3e5b9
To update your preferences and to unsubscribe visit
http://ebuppies.com/emailserv/?p=preferences&uid=ceaac09f61f20e44fbb4e9cb14f3e5b9
Forward a Message to Someone
http://ebuppies.com/emailserv/?p=forward&uid=ceaac09f61f20e44fbb4e9cb14f3e5b9&mid=20</font></td>
</tr>
        <tr>
            <td><font face="arial,verdana" size="1">CUBEMEDIALAB<br><br />
            1230 Market Street<br>
            Suite 252<br>
            San Francisco, California 94102<br>
            USA<br />
             </font></td><br />
            <td align="right"><a href="http://www.cubemedialab.com"
target="_blank"><img border="0"
src="http://www.ebuppies.com/images/cube_logo.gif" alt="Try digital design
with cubemedialab.com!" /></a></td><br />
        </tr>
    </tbody>
</table>

--
Powered by PHPlist, www.phplist.com --

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
Mike Frysinger | 16 Mar 2009 08:39
Picon
Favicon
Gravatar

metalog scm choice

i'm pondering switching metalog from svn to git.  svn works fine for me, but 
git allows me to be more flexible in terms of saving changes and quickly 
reviewing previous changes.

anyone highly object to the move ?
-mike
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
Ingo Bormuth | 15 Jan 2009 05:08
Picon

BUG: Metalog looses unflushed messages when killed_[Scanned]

Hi, 

thank you for creating and maintaining metalog which I quite 
like for its simplicity and the ability to log asynchronously.

Attached is a patch that makes metalog flush its unflushed messages
when it is killed (for example by it's init script).

See also http://bugs.gentoo.org/show_bug.cgi?id=233794

--

-- 
Ingo Bormuth,  voicebox & telefax:  +49-(0)-12125-10226517
PGP public key 86326EC9 at http://ibormuth.efil.de/contact
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users
Jérôme Carretero | 30 Jan 2008 21:55
Face
Picon
Picon

Timestamp format

Providing a way to customize timestamp format would be helpful.
I know logs are mostly rotated and so, you can't be confused with your log year, but I'm always annoyed when
seeing the "%b %e %T" timestamps in my logs.

I tried to modify the source but it's not as trivial as it might seem : replacing "%b %e %T" with eg. "%F %T"
doesn't change anything.
And I didn't understand very well how dates are processed in metalog... 

PS : Please keep the project alive, other loggers piss me off and I don't want to see metalog forgotten !

--

-- 
cJ

White dwarf seeks red giant for binary relationship.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Metalog-users mailing list
Metalog-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/metalog-users

Gmane