Logging configuration

I've added some code to handle configuration of logging. This is handled by a file logconfiguration.php and an example file is committed. This is relevant to issue #183