Support Questions

Find answers, ask questions, and share your expertise

Apache nifi log divert from nifi pod volume to Console only

avatar
New Contributor

Hi Team,

I want to write all my apache nifi log from pod volume 'opt/nifi/logs' to nifi pod console only.
I tried to write some sed command to update the 'logback.xml' file and now log is not getting written to '/opt/nifi/logs' but in console log is getting stuck after approx 500 lines. last part of log are:

02:59:18,080 |-INFO in ch.qos.logback.core.model.processor.DefaultProcessor@11c20519 - End of configuration.
02:59:18,080 |-INFO in ch.qos.logback.classic.joran.JoranConfigurator@70beb599 - Registering current configuration as safe fallback point

Connected
Updating property(nifi.security.keystorePasswd) in /opt/nifi/conf/nifi.properties
Updating property(nifi.security.truststorePasswd) in /opt/nifi/conf/nifi.properties
Updating property(nifi.security.keystore) in /opt/nifi/conf/nifi.properties
Updating property(nifi.security.truststore) in /opt/nifi/conf/nifi.properties

Please help to get this resolve, so log will continue further.
Thanks in advance.

1 REPLY 1

avatar
Community Manager

@Upadhyay, Welcome to our community! To help you get the best possible answer, I have tagged in our NiFi experts @MattWho @SAMSAL @cotopaul @ckumar  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: