Enable logging in Openfire under OSX

Logging seems to be a common problem for some users - judging from the ammount of posts regarding the issue…

Can someone tell me how to enable error/warn/info/debug logging in admin’s web console under OSX? I installed from the DMG package, I also started Openfire from the tar.gz package, but each time the log files in web console are empty. The logs/stdoutt.log and logs/stderror.log get populated with messages, but that’s not what I want…

I spent several hours on this issue, read dozens of posts and had no luck. I am getting Permission denied errors (in stderror.log), so I ran Openfire as su, I chmod’ed everything to 777. No luck. Is there a recipe for it?

Is it possible to run Openfire as non-deamon, but as a application that simply prints all logging messages to the stdout?

Thanks!