- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
In Apache Nifi, where can I find the debug log which I set in code using ComponentLog?
- Labels:
-
Apache NiFi
Created 11-11-2016 03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
In Apache Nifi 1.0.0, where can I find debug logs which I set in code by using ComponentLog?
final ComponentLog logger = getLogger();
logger.debug("This is a log message!");
I don't find an option to download log file in Nifi Web UI (the corresponding processor's Data provenance option). I also checked the logs folder (nifi-app.log, nifi-user.log, nifi-bootstrap.log).
Can any of you please tell me how to enable the debug logs and in which file it will be logged?
Thank you.
Created 11-11-2016 03:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found the answer from this mail thread -
In <nifi root>/conf/logback.xml,
<configuration>
<logger name=fully_qualified_class_name level="DEBUG"/>
</configuration>
Created 11-11-2016 03:27 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found the answer from this mail thread -
In <nifi root>/conf/logback.xml,
<configuration>
<logger name=fully_qualified_class_name level="DEBUG"/>
</configuration>
