Azure function app showing log in the log stream when displaying hibernate information

Zakary Kurzawski 85 Reputation points
2025-03-06T16:49:56.7466667+00:00

We have a few functions that we run in an Azure Function App.

We are using C3P0 hibernate to create the connection pool in our functions. When we run the functions in our local environment. We see no errors in the logs.

When we check the log stream in ADF, though, we see one log message that is being listed as an error. It is the INFO message from C3P0 displaying the initialization parameters for the connection pool.

Checking this message against what we see in our eclipse console, the data is exactly the same except for tokens and the urls for our databases.

The presence of this message does not impede the functionality of the functions and we are seeing the results that we expect from them despite the message appearing.

Is there any reason why this message would be displayed as an error in the log stream and not in eclipse?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,504 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Shireesha Eeraboina 1,900 Reputation points Microsoft External Staff
    2025-03-07T05:16:52.66+00:00

    Hi @Zakary Kurzawski ,

    Welcome to Microsoft Q&A Platform!

    The message you're seeing from C3P0 is likely being logged at the "INFO" level, but Azure Function App's logging configuration may treat certain INFO messages as errors, especially if they include specific keywords or patterns. This can happen due to differences in logging frameworks or configurations between your local environment (Eclipse) and Azure.

    Since this message does not affect the functionality of your functions, you can safely ignore it. If it becomes a concern, you might consider adjusting the logging level in your Azure Function App to filter out such messages.

    To help you better understand, kindly refer to the documentations below:

    If you find the answer helpful, kindly click "Accept Answer" and upvote it. If you have any further questions or concerns, please feel free to reach out to us. We are happy to assist you.

     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.