Questions tagged [appender]

An appender is a metaphor for an "output channel" in logging systems.

Commonly used in log4j/log4net and other inspired logging systems, appenders represent output channels such as files, databases or console. A logger can have various appenders associated with it, and every log messages written via this logger will be written to all associated output channels.

336 questions
0
votes
2 answers

All appenders for log4J

I try to run a medium sized programm with a lot of external jars but I always get the warning "log4j:WARN No appenders could be found for logger XYZ". Sure, I have to add the specific Appender to my log4j.properties but if I add this one, next run…
Matthias
  • 5
  • 1
  • 2
0
votes
1 answer

log4j appender with a file url

I have a problem where log4j is not logging to one of my files and i'm not sure why. I have some code that runs scripts, the scripts can add logging which is logged to a file using log4j, I am trying to create an appender that only logs for a…
Alex Edwards
  • 1,613
  • 3
  • 24
  • 48
-1
votes
1 answer

Log4j2 one file per user session

In my vaadin application, I'd like to create one log file per user session. I started to create a customer file appender but then decided to investigate on ThreadContexts a bit more. I now store the user's uid inside the ThreadContext, which works…
AndréB
  • 65
  • 7
-1
votes
1 answer

How to establish persistent connection with log4php Appender PDO?

Hi guys I'm new here and this is my first post. I have a project with log4php and I can't make a persistent connection happen. Is it possible to establish a persistent connection (pconnect) with the LoggerAppenderPDO through the configuration in…
-1
votes
1 answer

Custom Log4Net appender, specify where to find username

I've got a custom WcfAppender used by various projects (wpf, web etc). I want to log the username, however different technologies are used by the projects (windows authentication, federated security etc) and I don't want to write tightly coupled…
jaspernygaard
  • 3,098
  • 5
  • 35
  • 52
-2
votes
1 answer

Are log4j appenders backwards compatible with log4j2

I have an application using log4j 2.X library and I want to use custom appenders that are coded against log4j 1.X. While rewriting the custom appenders using log4j 2.x is an obvious option, I want to understand if that's the only option. The…
1 2 3
22
23