fig.getOrElse[String](key, null) // BAD
}
}
object SyncerLookup{
var config:Config = _
}
--
Patrick Brunmayr
LINZ AG für Energie, Telekommunikation, Verkehr und Kommunale Dienste
A-4021 Linz, Wiener Straße 151, Postfach 1300, Tel. +43/732/3400-0, E-Mail:
i...@linzag.at
on if this is a bug, where it would be filed, or
any work arounds?
Patrick
p.s. http://logging.apache.org/log4j/2.x/manual/layouts.html - Doesn't list
JSONLayout in the manual menu on the left. Where do I file that?
--
* Patrick **Flaherty *|
* w:* *e:* patrick.flahe...@weather.com
-on-startup
/servlet
Please let me know if any other details are needed.
Thanks in advance,
-Jim Patrick
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/Using-FileAppender-Unable-to-log-to-a-file-tp34694.html
Sent from the Log4j - Users mailing list archive
Hi
Could anyone add your thoughts?
Thanks,
-Jim
--
View this message in context:
http://apache-logging.6191.n7.nabble.com/Using-FileAppender-Unable-to-log-to-a-file-tp34694p34695.html
Sent from the Log4j - Users mailing list archive at Nabble.com.
that.
Thanks and regards
Patrick
Am 06.11.2009 um 09:47 schrieb Michael Erskine:
Sounds like the contextual information isn't being popped off the
stack - ensure your EJBs are being properly finalised and destroyed.
Regards,
Michael Erskine
I'm not an expert on Log4j, but recently had a similar requirement. I didn't
want debug messages appearing on the console. So on my console appender, I set
a threshold like this:
log4j.appender.CA.Threshold=INFO
I got that from somebody else on this list. This way I only see INFO messages
and
How about calling the subAppend(LoggingEvent) method within your appender? That
would prevent the append() method from being called recursively since your disk
utilization check is located there.
(Embedded image moved to file: pic15141.jpg)
Thanks Curt.
I implemented your suggestion and got what I was looking for.
Thanks David for your suggestion as well.
Patrick
Patrick
- Original Message -
From: Curt Arnold [EMAIL PROTECTED]
Sent: 09/02/2008 04:47 PM
To: Log4J Users List log4j-user@logging.apache.org
Subject: Re
it would be reasonable to include it.
best reagrds
patrick
Reasonable? While you make a good point about the seeming
arbitrariness
of the default trigger, it really is pretty trivial code. In
my case,
and I suspect many others, the desirable trigger for sending
out recent
e-mail logs
2 Logger.getLogger in my class files. It solves my purpose but just
wondering if my approach is fine?
It's perfect :-)
i'd put either the String JobStatus or the whole logger somewhere central
like into a singleton (to make sure you can change the loggers name easily) but
this is
really be a separate log file for each thread.
I saw the http://stauffer.james.googlepages.com/*DateFormatFileAppender*.java
but that doesn't meet what I'm looking for. Any help would be much
appreciated!
Thanks,
Patrick
version i am using?
best regards
patrick
ps: how is the executable searching the jars? i can delete vigilog-1.2.1.jar
but the executable is still starting up ?!?!?
-Ursprüngliche Nachricht-
Von: Wim Deblauwe [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. April 2007 10:11
An: Log4J
i think currently all your classes are in the same (default)package
otherwise the configuration for the loggers would have to be different...
cheers
patrick
-Ursprüngliche Nachricht-
Von: wolverine my [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 16. März 2007 10:30
An: Log4J Users
i made 3 extensions to DailyRoling file appender:
1) dated = the current logfile will also include the date and will not be
renamed on rolling
2) compressing = old logs are compressed.
3) cleaning = stupid name but it will delete all files ending with zip which
are older than the given max date.
i'm not sure if i understand what you want to do but i see 2 possibilities:
- have only one log4jconfig and in that define a separat console appender and
let the castor packages log to this (additivity=fasle)
- do the same configuration from within your code
cheers
patrick
-Ursprüngliche
As soon as I uncomment appender-ref ref=mail/ in the
example given
below, log4j is no longer picked up (by commons-logging). Is
there anything
if it's working otherwise then make sure that you have all needed libraries in
your classpath (mail.jar, activation.jar)
wrong with the
the slight impression that maven is not supported for building log4j
but i found nothing that says so.
any help apreciate
best regards
patrick
--
View this message in context:
http://www.nabble.com/maven-build-tf3219983.html#a8942454
Sent from the Log4j - Users mailing list archive at Nabble.com
Why does the logger force you to use Strings?
no body is forced to log *strings* have a look at the signature of
Logger.info():
public void info(Object message)
so use StringBuffers (or if using java1.5 StringBuilder) if you like to.
however IMHO your code is generating unnecessary String
ok, maybe like this
http://www.nabble.com/file/5911/log4jCompressingAppender-src.zip
log4jCompressingAppender-src.zip
--
View this message in context:
http://www.nabble.com/Automatically-zipping-and-archiving-logs--tf3083277.html#a8569737
Sent from the Log4j - Users mailing list archive
. the different classloading strategies)
and also if log4j.jar is in a central possition
- i get all my logs into a directory which can be served by apache (to
authorized users)
any comments?
cheers
patrick
-Ursprüngliche Nachricht-
Von: Jacob Kjome [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag
i'm not an expert at this but...
1) make sure you also put the information from MEAT-INF into your jar file
or
2) use One-JAR to package several jar files into one
http://www-128.ibm.com/developerworks/library/j-onejar/
cheers
patrick
Jeff Drew-2 wrote:
When I build an application .jar, I
problems if you repackage
them.
that's why i would recommend to use One-JAR or something like that (i think
there was one called superjar or something)
cheers
patrick
Bence Takács wrote:
sorry: it is recommended to extract the contents of the inner.jar into
the would-be main.jar's /lib directory
you can log anything with log4j :-]
depending on what you want to do you can use one of the following
json:
http://www.json.org
or xstream:
http://xstream.codehaus.org/index.html
and either change your log requests:
log.debug( xstream.toXML(someObject));
or
write your own Layout
regards
patrick
/docs/api/org/apache/log4j/net/SMTPAppender.html#getSMTPUsername()
cheers
patrick
Abid Hussain wrote:
Hallo everybody,
I'm not an expert in log4j, so maybe I have overlooked something. But I
didn't found anything useful in the mailing-list-archives nor in google.
I want to use
large bursts of requests then i'd recon you'll be better off
using the AsyncAppender.
cheers
patrick
ying lcs wrote:
hi,
Log4j has a jdbc appender. But can i just queue up all the log entries
to the disk first. And at the end of the day everyday, It writes to
the Database?
Thank you
day
myApp.log.2006.09.30.log for previous days
this has the atvantage that you do not need any non-standard appenders
cheers
patrick
James Stauffer wrote:
I have written an appender that can do that.
http://stauffer.james.googlepages.com/DateFormatFileAppender.java
On 9/18/06, kingwell
if both machines are on a local network you just have to make sure the used
port is not open to the outside world.
with reasonable firewall setting this should be the default anyway
so no need for ssh...
another solution might be to log into a database
Shashank-3 wrote:
Shashank davanagere
MaxBackupIndex is only available in RollingFileAppender not in
DailyRollingFileAppender.
if you are interessted i can send you a modified DailyRollingFileappender that
keeps only a limited amount of files (and zips old logs)
cheers
patrick
-Ursprüngliche Nachricht-
Von: nithya rajeev
I appreciate that this problem is OS specific (Windows 2003
Server) and has
windows may not be able to rename files if they are open in some applications.
try ProcessExplorer (http://www.sysinternals.com/Utilities/ProcessExplorer.html)
to see if a file is open by another process
1) i think you have to set TriggeringLevel.
I am using param name=Threshold value=DEBUG/. I guess that's the
same.
no!
TriggeringLevel: an event with this level (or higher) will trigger the sending
of a new email which contains all events that have a level=threshold
host. But my monitor
- the default for EvaluatorClass is a Class triggering if the Level is ERROR or
higher
cheers
patrick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: 503.997.1367
Fax:503.222.0185
[EMAIL PROTECTED]
www.comotivsystems.com
-Original Message-
From: Patrick Wyss [mailto:[EMAIL PROTECTED]
Sent: Thu 8/31/2006 5:37 AM
To: Log4J Users List
Subject: chainsaw for non-xml files
is there any possibility to run chainsaw
you can also change the priorities programaticaly from your application:
Logger.setLevel(Level level);
maybe this is done within quarz??? (i doubt it)
this is IMO not recomendable because it is not obvious and not changable
without recompilation.
so for the original poster:
1) are you 100%
i have a AuthSMTPAppender which i could easyly extend to set the port as well
as the authentification.
if you're interessted...
-Ursprüngliche Nachricht-
Von: DeMZed [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 22. August 2006 21:06
An: 'Log4J Users List'
Betreff: SPAM: RE:
to pass the parameter to java with the -D switch like this
java -Dlog.dir=%LOG_DIR%
regards
patrick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
server are different;-)
apologies
patrick
-Ursprüngliche Nachricht-
Von: James Stauffer [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 21. August 2006 22:48
An: Log4J Users List
Betreff: SPAM: Re: InterruptedIOException in WriterAppender and
Thread.interrupt()
If you interrupt
Takacs Bence-2 wrote:
What if I make my own LifeSignAppender, which is not a real logger but
has a Time parameter, and runs Threads which measure time, and if the
Time is up, throw an ERROR level log? However, could an appender throw a
log message?
make your LifeSignAppender extend
)
at
moso.Transmission.TransmissionCarrier$AliveTimer.run(TransmissionCarrier.java:461)
best regards
patrick
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
?
Thanks by advance to take time to help me !
Regards
Patrick
Hi,
I encountered the same problem. I solved this by downloading the binary
distribution (logging-log4j-1.3alpha-6) and making my own log4j-db.jar. You
will notice that this jar file contains no classes.
Regards,
Patrick.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL
.
Regards,
Patrick.
Table schema:
NameDatatypeSizeScale Nulls? Default Value
MSISDN VARCHAR224 0 No
ID VARCHAR215 0 No
URL VARCHAR2256 0 No
WSP_STATUS_CODE NUMBER 4 0 Yes
41 matches
Mail list logo