#1 2012-01-17 10:48:21

chenjy1
Guest

log output

Hi ,all

Can i output the job exception to a log file?

Thanks

#2 2012-01-17 10:50:43

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: log output

Hi

You can use tLogCatcher component.

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-01-17 10:56:01

chenjy1
Guest

Re: log output

pedro wrote:

Hi

You can use tLogCatcher component.

Regards,
Pedro

thanks for you answer,

But i can not find any setting of tLogCatcher about the file position.

#4 2012-01-17 10:56:59

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: log output

Hi

What do you mean "file position"?

Regards,
Pedro


Only Paranoid Survive.

Offline

#5 2012-01-17 11:00:38

chenjy1
Guest

Re: log output

pedro wrote:

Hi

What do you mean "file position"?

Regards,
Pedro

for example ,i want to output the log to the "C:/log/error.txt"

#6 2012-01-17 11:02:50

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: log output

Hi

Just link tLogCatcher with tFileOuputDelimited component.

Regards,
Pedro


Only Paranoid Survive.

Offline

#7 2012-01-17 11:10:06

chenjy1
Guest

Re: log output

pedro wrote:

Hi

Just link tLogCatcher with tFileOuputDelimited component.

Regards,
Pedro

thanks!!

Best regards
chenjy

#8 2012-05-31 14:14:41

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

Re: log output

Hi,

How can I have the logfile be spit over multiple files?

And I know there is a checkbox in the tFileOutputDelimited 'Split output in several files' but that does not work when using it with the tLogCatcher component.

I tested it with a tFixedFlow Input and the I get several files, then I added the tLogCatcher and it just uses 1 file instead of several files??

Also in the project properties->stats&logging there are no options for using several files.

Offline

#9 2012-06-01 03:56:51

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: log output

Hi

If you load multi rows into delimited file by tFileOutputDelimited, the 'Split output in several files' feature works fine.

But usually tLogCatch will catch only one error as one row.

Regards,
Pedro


Only Paranoid Survive.

Offline

Board footer

Powered by FluxBB