serenity-reportportal-integration
serenity-reportportal-integration copied to clipboard
How to emit Log manually?
Hi, I'm configuring the Log Preset to send as much logs as possible to RP. But can't find anyway to send the information from Logger (INFO,WARN,...) onto RP as well, could you please help me how to parse the log and send it to RP
Thanks
@ntthaibk You can try to use one of the loggers option provided by RP. Exact module depends on underlying logging system you are using in your project.
I think serenity is using Log back, but I've appended it to logback.xml but there's nothing posted to RP :(
btw, I've try to call ReportPortal.emitLog directly, but still can't emit that log to RP, do I need to create Log Preset Unit for the emit as well?
@ntthaibk in current integration implementation it does not seem to be possible. maybe (I am not sure yet) it will be possible when new architecture is implemented.