#1 2009-12-09 22:34:26

captainlaw
Member
Registered: 2009-11-10
Posts: 81

Log

Hello,
I'm wondering what are some common logging methodology that I should use to track errors or processing metadata?
tStatCatcher - only tracks start and end Job
tLogCatch - only tracks tWarn or tDie components

Am I missing any capabilities of these components?

Thanks!

Offline

#2 2009-12-10 23:20:35

captainlaw
Member
Registered: 2009-11-10
Posts: 81

Re: Log

Something similar to SSIS which it logs onError, onInformation, onProgress to a table or file.

Offline

#3 2010-01-07 23:26:37

captainlaw
Member
Registered: 2009-11-10
Posts: 81

Re: Log

Is there a sample/demo Job that shows how to track error messages when Talend components fail?

Offline

#4 2010-01-11 11:16:53

shong
Talend team
Registered: 2007-08-29
Posts: 10300
Website

Re: Log

Hello

tLogCatch - only tracks tWarn or tDie components

tLogCatch - catch tWarn or tDie components, and runtime errors. Please see the user documentation, there should be some demos. Here is a simple job:
tFileInputDelimited---tMysqlOutput
tLogCatcher---tLogRow

Best regards

          shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#5 2012-04-12 14:21:30

arjenvanharen
Member
Registered: 2012-01-04
Posts: 27

Re: Log

And how about getting the stacktrace in the logfile? I only see one entry? The documentation and tutorials about how to use logging could be a lot better I think.


Some stuff is also confusing:

- tLogRow, nope it will not log to a file, just print to the console output in studio IDE, I think it does nothing when being run in Karaf? so it is not really logging only println ing

- tWarning, this one can be used to send info to the tCatcher component, sounds more like a tLogRow, not sure why it is called warning as you can use it for INFO, DEBU, TRACE, ERROR, etc..? and will this show up in Karaf?

- karaf how a logging system, with a active loglevel that can be setup in the console, can I use that from talend?

Offline

Board footer

Powered by FluxBB