简体   繁体   中英

Java StackTrace Editor or GUI

My java app is dumping stacktrace to a log file. However, the solution center wants an "easier" way to understand the generated stacktrace.

Other than training them in java, is there a stacktrace editor or gui that could make their life easier?

Thanks so much in advance!

You may consider having two logfiles. One containing debug information for you, and another containing information for the solution center. They may be satisfied just with the "RuntimeException: The Sky Is Falling" line to allow them to determine that this is something unexpected that should go to the developer.

You may also want to have an outer try-catch construction which catches all Throwables and try to provide information for the solution center. Eg for an SQLException, "This is an error with the database, ensure it works properly, restart the applciation and raise a ticket with the developers."

In other words, provide as much information about the situation as you can up front, and in a clear language. This might be a good team effort for a day or two.

您是否可以修改代码以生成更清晰的用户可读错误?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM