Hello,
Is there a way to set custom log levels via configuration?
Is there a way to change existing log levels via configuration?
At the end of this post
http://stackoverflow.com/questions/538095/how-do-i-filter-on-a-custom-level-in-log4net
I see someone had said:
"You will need to add
Was working on this more and decided I would just attempt to add the
element under the element and see what happens. Luckily there is a
"debug" attribute on the element which gives you an indication of
what log4net is doing so I also turned that on. It seems to work not only
based on the d
It seems another way to solve the same problem I was trying to solve is to
redefine 'Off'. This also worked:
I still would like to know how to set the display name of a level via
configuration, if that's possible. It appears it takes the element's
'value' as the display name sinc
Sending to both the log4j and log4net mailing lists.
I'm curious why log4net is not more similar to log4j(2)? Is it because there
is less development work being done on log4net and log4j had significant
changes in the 2.0 version? Any chance log4net might become more of a "port"
of log4j(2) a
ink I read somewhere that log4net was a port of log4j 1.
"Patches welcome" is my motto :-)
Gary
On Wed, Sep 16, 2015 at 2:42 PM, Nicholas Duane wrote:
Sending to both the log4j and log4net mailing lists.
I'm curious why log4net is not more similar to log4j(2)? Is it because th
ubject: Re: Why is log4net not more similar to log4j(2)?
From: garydgreg...@gmail.com
To: log4j-u...@logging.apache.org
CC: log4net-user@logging.apache.org
Porting Log4j 2 would be a *huge* job. Would you use a translator of some kind?
Gary
On Wed, Sep 16, 2015 at 3:41 PM, Nicholas Duane wrote:
ng.apache.org
>
> It's not so much that one appender is more code than another. It's all the
> infrastructure underneath it all...
>
> Gary
>
> On Wed, Sep 16, 2015 at 5:06 PM, Nicholas Duane wrote:
>
> > Not sure. I was going to ask what a guess on the ef
o: log4j-u...@logging.apache.org; log4net-user@logging.apache.org
> Subject: Re: Why is log4net not more similar to log4j(2)?
> Date: Fri, 18 Sep 2015 09:25:00 +0200
>
> On 2015-09-17, Gary Gregory wrote:
>
> > "Patches welcome" is my motto :-)
>
> > Gary
I seem to have run into an issue where either an instance of a layout object is
being reused in another appender or it's reusing the params under a layout.
Here is what I did:
...
...
...
To my surprise, the layout in the second (lower) appender above had the
ver implements it.
Take a look at http://www.apache.org/foundation/how-it-works.html.
Ralph
On Sep 18, 2015, at 7:32 AM, Nicholas Duane wrote:I looked
over the thread you included below. I can't tell from that whether the
suggestion was to port log4j2. Not sure if the comment about start
sponding
questions on both user and dev mailingist. To make this real a lot of helping
hands will be required. Volunteers are welcome!
Cheers
On 18 Sep 2015 4:32 pm, "Nicholas Duane" wrote:
I looked over the thread you included below. I can't tell from that whether
the sugges
ns.
Thanks,
Nick
> Date: Sat, 19 Sep 2015 01:00:05 +0200
> Subject: Re: Why is log4net not more similar to log4j(2)?
> From: dpsen...@gmail.com
> To: log4net-user@logging.apache.org; log4j-u...@logging.apache.org
>
> See inline..
>
> 2015-09-18 21:21 GMT+02:00 Nicholas D
st log4net have largely been around the
length of time to support new framework features properly (clr 2 lightweight
locking models, and now probably lamda logging statements and structured
logging). Would be interested to see what would be *gained* in a v2 port effort.
On 17 Sep 2015 5:42 am, &qu
I would agree that file based logging it core. I would probably not want my
web application logging to a database, for sure not each log statement. If
there was some buffering in between which batched the logs and then sent every
once in a while to the DB that would seem better, to me at least
Yeah, I was thinking the same thing. I'm not familiar with the memory
appender, but by the name of it I would expect the memory consumption to go up
each time you log an event.
Thanks,
Nick
From: a...@recombulator.net
To: log4net-user@logging.apache.org; e...@flex-radio.com
Date: Mon, 19 Oct 2
>From reading the log4j2/log4net docs it appears adding a layout to an appender
>is optional. If I don't add a layout to an appender how does the appender
>generate the string for the event? Does it simply call toString()/ToString()
>on the event object? If that's the case then if we want our
I'm wondering if log4net has the notion of a status logger like in log4j2?
Thanks,
Nick
I think I might be running into the problem defined by this post:
https://issues.apache.org/jira/browse/LOG4NET-274
Here's the setup. We've created a client framework which exposes some event
creation methods. We expect those methods to get called in order to generate
events. Then the applic
I had asked about this in the past and I figured I would ask again after seeing
this mail. Any chance that we'll get a log4net version which is a "port" of
the latest log4j2?
Thanks,
Nick
From: Stefan Bodewig
Sent: Wednesday, September 14, 2016 12:32 AM
To:
needs to be something that isn’t so revolutionary as
to cause me to reevaluate my logging infrastructure.
-Walden
--
Walden H Leverich III
(516) 627-3800 x3051
wald...@techsoftinc.com<mailto:wald...@techsoftinc.com>
From: Nicholas Duane [mailto:nic...@msn.com]
Sent: Wednesday, S
ent: Tuesday, September 20, 2016 2:26 AM
To: log4net-user@logging.apache.org
Subject: Re: Apache log4net Needs Help
That's an interesting point. Would you mind to share your thoughts and reasons
why you picked log4net over other logging frameworks beyond being a log4j port?
On 2016-09-20 0
Nick
From: Nicholas Duane
Sent: Tuesday, September 20, 2016 10:03 AM
To: log4net-user@logging.apache.org
Subject: Re: Apache log4net Needs Help
Maybe a bit of history would help.
We had written our own logging framework a while back, prior to the launch of
.NET. It was a Windows
d of feedback do you expect? I will gladly answer your
questions.
Best regards
Dominik
On 03/10/2016 04:21, Nicholas Duane wrote:
Just curious if anyone has any feedback? One reason I ask is because I again
just got an email from someone in my group and it's in reference to the COE
(Ce
g4net is created which is a port of
lo4j2.
Thanks,
Nick
From: Stefan Bodewig
Sent: Tuesday, October 4, 2016 12:18 AM
To: log4net-user@logging.apache.org
Subject: Re: Apache log4net Needs Help
On 2016-10-03, Nicholas Duane wrote:
> Just curious if anyone
rted to both linux/java and windows/.net.
Anything else doesn't make sense, at least to me.
Thanks,
Nick
From: Stefan Bodewig
Sent: Tuesday, October 4, 2016 10:06 AM
To: Log4NET User
Subject: Re: Apache log4net Needs Help
On 2016-10-04, Nicholas Duane wro
utdown the appenders in the shutdown routine as opposed to
relying on .NET's appdomain shutdown logic.
Thanks,
Nick
From: Nicholas Duane
Sent: Tuesday, October 4, 2016 4:28 PM
To: Log4NET User
Subject: Re: Apache log4net Needs Help
>Whether a log4j2 port hap
Is Level.All correct? I looked at it in reflector and it appears to be
Level.Off + 1, but since it's a signed int that turns it into a large negative
number. This seems to be causing me some problems. I'm trying to implement
something like log4j's EventLogger which I think logs events at leve
Is there a way for me to inject properties into a LoggingEvent? I'm trying to
accomplish this without the user (of log4net) doing anything special. The only
thing I could think of was wrapping loggers, and while I'm not against doing
that it would have to be done via configuration as I don't w
ts
E. Log "complex" classes that hold your category information and find a way to
format them
There might be more things that you could do..
On 22 Oct 2016 5:31 p.m., "Nicholas Duane"
mailto:nic...@msn.com>> wrote:
Is there a way for me to inject properties int
?
Thanks,
Nick
From: Dominik Psenner
Sent: Sunday, October 23, 2016 9:18 AM
To: Log4NET User
Subject: Re: Injecting properties into LoggingEvent
Sorry, I cannot grasp your requirements. Please try to explain your usecase
better in a way that gives the doc
ggingEvent
Responding inline..
On 23 Oct 2016 4:04 p.m., "Nicholas Duane"
mailto:nic...@msn.com>> wrote:
>
> Is there a way for me to add properties to a LoggingEvent without the user
> doing anything out of the ordinary. Maybe it's even best to assume an
> ex
our log events through a custom appender that you
implement. That custom appender can implement your logic of events as smart as
you need it and then call inner appenders to process events. See the
bufferingappenderskeleton.
On 24 Oct 2016 12:52 a.m., "Nicholas Duane"
mailto:nic...@m
y way of syncing the .NET app domain shutdown event. At
that point you're not given any time to cleanup.
Thanks,
Nick
From: Stefan Bodewig
Sent: Sunday, October 16, 2016 7:32 AM
To: Log4NET User
Subject: AsyncAppender (was Re: Apache log4net Needs Help)
I'm using the PropertyFilter class which I assumed, I guess wrongly so, that
the StringToMatch would be for an exact match. It seems that's not the case
and a match is detected if the StringToMatch is a substring of the property
value. Is there a way to get an exact match without having to wri
iams wrote:
All is not something you would log at, it's something to use as a threshold for
a logger that should log everything. Because it's lower than all your message
logging levels, they all get logged.
On 21 Oct 2016 11:25 am, "Nicholas Duane"
mailto:nic...@msn.com>&
I know you can't use assembly binding redirects to account for key changes, but
can't you load a newer version of log4net by providing your own assembly
resolver?
From: Dominik Psenner
Sent: Saturday, August 28, 2021 5:00 AM
To: Log4NET User
Subject: Re: Old Ke
36 matches
Mail list logo