August 6, 2013 Leave a comment
LiveCycle Workbench includes a Server Log Viewer by default but sometimes you want to view multiple log files and have syntax highlighting to help you debug your applications while you work on your LiveCycle application. I also found the built-in viewer extremely limited and it didn’t always tail the server.log file properly and also required you to be logged into LiveCycle to use it!
Eclipse Labs logviewer
For both Eclipse and Workbench I use the logviewer Eclipse plugin to look at any log files I am generating during development. It’s simple, very configurable, has syntax highlighting and allows you to open multiple files at once.
Installation is simple since Adobe left in the Eclipse Software Updates feature:
1. Open Help > Software Updates > Find and Install…
2. Select Search for new features to install then Next >
3. Click New Remote Site… and copy the Update Site URL from the logviewer page and click OK
4. Click Finish then Select logviewer feature checkbox and then click Next >
5. Select I accept the terms in the license agreement and Next >, Finish then Install All
6. Click Yes to Restart Workbench
7. Once Workbench has restarted, click Window > Show View > Other…
8. Select Log Viewer plugin from within its folder and click OK
9. Enjoy a decent log viewer / file tailer with plenty of features!
Bonus: you don’t even need to be logged into LiveCycle to use it…
If the install above is all too hard or you are a manual-eclipse-plugin-installer-kinda-developer, then:
1. Copy the latest Jar from here: http://logviewer.eclipselabs.org.codespot.com/git/de.anbos.eclipse.logviewer.update/plugins/
2. Bung it in the Workbench plugins folder (probably something like C:\Program Files (x86)\Adobe LiveCycle Workbench ES4\workbench\plugins)
3. Start Workbench and tail away…