HipChat Appender

2014-10-17 Thread Daniel Widdis
We've just switched our logging framework to log4j2 and are enjoying its features. The SMTP appender looks nice but we tend to avoid email and use HipChat for a lot of our code team communications. I've searched the web for a log4j2 Hipchat appender and don't see one out ther

Re: HipChat Appender

2014-10-17 Thread Gary Gregory
ommunications. I've searched the web for a > log4j2 Hipchat appender and don't see one out there... i've found one for > logback and for log4net. Does anyone know if one exists? And/or is > willing to port

Re: HipChat Appender

2014-10-17 Thread Daniel Widdis
Threw something together. It works. Needs testing and more javadocs, of course... What's the best path to contribute? Just stick it up on a code repository somewhere? Anyone want to collaborate? Dan On 10/17/14, 8:51 AM, Gary Gregory wrote: Patches welcome ;-) Gary ---

Re: HipChat Appender

2014-10-17 Thread Gary Gregory
Hi Dan, Your best bet is to create a JIRA issue and attach a diff file (including unit tests). Even if you create a pull request from somewhere, we still need the diff file for tracking purposes. Gary On Fri, Oct 17, 2014 at 3:18 PM, Daniel Widdis wrote: > Threw something together. It works.

Re: HipChat Appender

2014-10-17 Thread Daniel Widdis
Gary, Thanks! Unfortunately it seems my code depends on a Hipchat API that's in alpha and not very well documented. So it's probably not ready for a prime time addition to the official project. I'll try to get something together to put it on bitbucket or google code or somewhere where it c

Re: HipChat Appender

2014-10-17 Thread Gary Gregory
Where is this API? Gary On Fri, Oct 17, 2014 at 5:18 PM, Daniel Widdis wrote: > Gary, > > Thanks! > > Unfortunately it seems my code depends on a Hipchat API that's in alpha > and not very well documented. So it's probably not ready for a prime time > addition to the official project. > > I'll

Re: HipChat Appender

2014-10-17 Thread Daniel Widdis
https://bitbucket.org/collabsoft/hipchatapi/ It is one of two options under the "Java" section here: https://www.hipchat.com/docs/api/libraries The current state of my code, not yet committed anywhere and still tweaking/adding docs: http://pastebin.com/tpxViR1t On 10/17/14, 2:30 PM, Gary Gr

Re: HipChat Appender

2014-10-19 Thread Daniel Widdis
I've uploaded my project to github for the log4j2 community's use/abuse. https://github.com/dbwiddis/log4j2-hipchat On 10/17/14, 12:18 PM, Daniel Widdis wrote: Threw something together. It works. Needs testing and more javadocs, of course... What's the best path to contribute? Just stick

Re: HipChat Appender

2014-10-20 Thread Gary Gregory
Dan, We are in the middle of releasing Log4j 2.1. Once that is done, I think we'll be able to focus on new features. If all goes perfectly well, 2.1 will be out at the end of the week. Gary On Sun, Oct 19, 2014 at 3:00 PM, Daniel Widdis wrote: > I've uploaded my project to github for the log

Re: HipChat Appender

2015-03-12 Thread Gary Gregory
Note that 2.2 just came out. You might want to make sure your code still works with 2.2 and Git master. I'm not sure if anyone will have cycles to look at this; I'm OOT for the next 4 days. Gary On Mon, Oct 20, 2014 at 6:32 AM, Gary Gregory wrote: > Dan, > > We are in the middle of releasing Lo

Re: HipChat Appender

2015-03-12 Thread Daniel Widdis
Works fine with 2.2. On 3/12/15 12:22 AM, Gary Gregory wrote: Note that 2.2 just came out. You might want to make sure your code still works with 2.2 and Git master. I'm not sure if anyone will have cycles to look at this; I'm OOT for the next 4 days. Gary On Mon, Oct 20, 2014 at 6:32 AM, Gary

Re: HipChat Appender

2015-06-09 Thread Gary Gregory
I guess we have not considered this still. Thoughts from devs and users? Gary On Thu, Mar 12, 2015 at 1:05 AM, Daniel Widdis wrote: > Works fine with 2.2. > > On 3/12/15 12:22 AM, Gary Gregory wrote: > >> Note that 2.2 just came out. You might want to make sure your code still >> works with 2.

Re: HipChat Appender

2015-06-09 Thread Gary Gregory
Oh, and FWIW, a JIRA and patch attached would be best. Gary On Tue, Jun 9, 2015 at 9:08 PM, Gary Gregory wrote: > I guess we have not considered this still. > > Thoughts from devs and users? > > Gary > > On Thu, Mar 12, 2015 at 1:05 AM, Daniel Widdis wrote: > >> Works fine with 2.2. >> >> On 3

Re: HipChat Appender

2015-06-09 Thread Daniel Widdis
I think this one is best left outside of the official log4j release for now. Its main dependency is Collabsoft's HipChatAPI (https://bitbucket.org/collabsoft/hipchatapi/) which is still in "alpha" development (and signs are it's not being actively developed). That API in turn is using versio

Re: HipChat Appender

2015-06-09 Thread Gary Gregory
Fair enough. Eventually, Log4j will be on Java 8 as well, but who knows when that will be, Java 7 EOL or not. Gary On Tue, Jun 9, 2015 at 9:52 PM, Daniel Widdis wrote: > I think this one is best left outside of the official log4j release for > now. > > Its main dependency is Collabsoft's HipCha

Re: HipChat Appender

2015-06-11 Thread Mikael Ståldal
It seems like it reimplements parts of Log4j's PatternLayout. On Wed, Jun 10, 2015 at 7:04 AM, Gary Gregory wrote: > Fair enough. Eventually, Log4j will be on Java 8 as well, but who knows > when that will be, Java 7 EOL or not. > > Gary > > On Tue, Jun 9, 2015 at 9:52 PM, Daniel Widdis wrote: