Hi all!

I am trying to change the way the log output of pipelines/workflows is written, 
and found out that slf4j is used.
(by finding 
https://issues.apache.org/jira/browse/HOP-3566?focusedCommentId=17462147&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-17462147).

Coming from PDI, I know that it was possible to change the log output by 
adapting log4j.xml, see, for example:
https://diethardsteiner.github.io/pdi/2017/04/19/PDI-logging.html

What would be the analogous way to change date formats or similar in Apache Hop?

In more detail, I would be interested how it would be possible to append or 
prepend the timestamp of each log entry
with some information (string) that is available in Apache Hop variable 
(${someVar} for example).
Note that in my case every single log entry of every pipeline/workflow of the 
project would need this extension
of the timestamp in the log output.

For example, in case ${someVar} contains the string "XYZ", I would like to 
change the log output:
from
"2024/10/07 12:56:28 - main - Starting action [write_some_data.hpl]"
to
"2024/10/07 12:56:28 XYZ - main - Starting action [write_some_data.hpl]"

Is something like this possible via configuration?

Mit freundlichen Grüßen

Gerhard Mitterlechner
Senior Development Engineer
Database Management

[email protected]<mailto:[email protected]>

[cid:[email protected]]


eurofunk KAPPACHER GmbH
eurofunk-Straße 1 - 8, 5600 St. Johann im Pongau, Österreich / Austria

Board of Management: Christian Kappacher, Dr. Christian Kappacher
VAT No.: ATU35454003 | Registered in: FN 52582 b, LG Salzburg

Products  |  Solutions  |  Service       
www.eurofunk.com<http://www.eurofunk.com/>
[cid:[email protected]]<https://www.facebook.com/eurofunkKappacher/>
  [cid:[email protected]] 
<https://www.linkedin.com/company/5039801/>   
[cid:[email protected]] 
<https://www.youtube.com/user/eurofunkkappacher/>   
[cid:[email protected]] 
<https://www.xing.com/companies/eurofunkkappachergmbh>  
[cid:[email protected]] 
<https://www.instagram.com/eurofunk_kappacher>  
[cid:[email protected]] <https://www.eurofunk.com/newsletter>


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to