Adapt and improve the debug logging system
ADDED: Improve debugging kioslaves by using environment variables and also stdout instead of a separate log file.
Revision: !8
ADDED: Improve debugging kioslaves by using environment variables and also stdout instead of a separate log file.
Revision: !8