HOW TO: see the servoy log in the MAC Console
Posted: Tue Nov 24, 2009 11:00 pm
I few years ago (I believe) I found out and published that you can drag the Servoy log file to the console icon in the dock to see the log in the console.
The advantage of having the log file in the console is that you see 'live' updates of what happens to your running Servoy instance.
However, the above method does not make it a permanent thing.
Not so long ago (yes I am still learning) I found out how to make this permanent and want to share that with you as well.
It is quite simple:
1. Open terminal
2. cd to '~/Library/Logs' (in your home folder) or /Library/Logs
3. create a symbolic link with 'ln -s /path/to/your/servoy/log_file.txt symbolic_link_name'
4. (re-)start the console and you will see the log file under '~/Library/Logs' or '/Library/Logs'
When you want to remove the symbolic link you move to the designated folder again and enter 'rm symbolic_link_name'.
I hope you enjoy this (very little) tip
The advantage of having the log file in the console is that you see 'live' updates of what happens to your running Servoy instance.
However, the above method does not make it a permanent thing.
Not so long ago (yes I am still learning) I found out how to make this permanent and want to share that with you as well.
It is quite simple:
1. Open terminal
2. cd to '~/Library/Logs' (in your home folder) or /Library/Logs
3. create a symbolic link with 'ln -s /path/to/your/servoy/log_file.txt symbolic_link_name'
4. (re-)start the console and you will see the log file under '~/Library/Logs' or '/Library/Logs'
When you want to remove the symbolic link you move to the designated folder again and enter 'rm symbolic_link_name'.
I hope you enjoy this (very little) tip