A monitoring and logging framework