Skip to content

Instantly share code, notes, and snippets.



Last active Mar 13, 2018
What would you like to do?
Instructions on adding the AEM error log to the Console application Reports

Using a symlink to easily view the AEM log on macOS +10.12 in the Console application (without having to manually find/open the log file) won’t work anymore, it requires a hard link:

brew install hardlink-osx
mkdir ~/Library/Logs/AEM
hln <PROJECT ROOT>/AEM/author/crx-quickstart/logs/error.log ~/Library/Logs/AEM/<PROJECT NAME>.error.log
open -a

Anytime you want to view the log, it’s at Reports → ~/Library/Logs → AEM → <PROJECT NAME>.error.log


This comment has been minimized.

Copy link
Owner Author

@digitaljhelms digitaljhelms commented Mar 13, 2018

Note: When the log file is cycled out (done by AEM daily) the hard link will break – haven't found a workaround for this except creating the hard link again – probably something that could be done as part of the AEM quickstart/start script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.