What are the challenges with error logging for Java and .NET apps?