More Detailed Error Messages

David Gallagher shared this idea 7 years ago
Completed

Can we implement a mechanism to allow end users to review more detailed error messages when they encounter one in the UI?


For example, when working with a Calculated Field on a report, the current error message is "Error retrieving results" within the browser. When looking in the logs file it's much more detailed. End users rarely have access to these log files, and it's cumbersome for them to do so.


Can we have a more detailed error message delivered to the end user?

Replies (2)

photo
1

Hello David,


We currently have on our road map a method that will accomplish this. The goal is to have errors written into the Event table of Yellowfin. With this feature, clients will be able to create reports against the Event table, allowing end users to have access to more detailed error messages without having to consult the logs. I'll keep this post updated with further information on an expected version release for this feature.


Thanks,

Ryan

photo
1

Hi David,

I wanted to update you and let you know that this is now a part of our current releases.

This can be enabled by editing the <YellowfinInstall>/appserver/webapps/ROOT/WEB-INF/log4j.properties file.

Edit line 2 to read:

log4j.rootCategory=INFO, cons, applog, repos
and add the following lines to the file:

log4j.appender.repos=com.hof.adapter.RepositoryErrorAppender
log4j.appender.repos.layout=org.apache.log4j.PatternLayout
log4j.appender.repos.layout.ConversionPattern=YF:%d{yyyy-MM-dd HH:mm:ss}:%5p (%c{1}:%M) - %m%n
to enable this.

Thanks,

Ryan

Leave a Comment
 
Attach a file