Information message in standard error output

2 posts, 0 answers
  1. Brent
    Brent avatar
    1 posts
    Member since:
    Dec 2011

    Posted 20 Jan Link to this post

    We're getting this message in our standard error output:

    EagleServer.exe Information: 0 : Unit.DotsPerInch = 96

    EagleServer.exe is our application.

     

    This happens on the bold line below:

      using (XmlReader xmlReader = XmlReader.Create(new StringReader(entity.ReportDefinitionXml)))
                    {
                        ReportXmlSerializer xmlSerializer = new ReportXmlSerializer();
                        report = (Telerik.Reporting.Report)xmlSerializer.Deserialize(xmlReader);
                    }

     

    The message in the standard error output causes our application to think that something failed. Is there any way we can prevent this from happening?

  2. Katia
    Admin
    Katia avatar
    716 posts

    Posted 29 Jan Link to this post

    Hello Brent,

    We are using TraceInformation to log the notification:

    Trace.TraceInformation("Unit.DotsPerInch = {0}", Unit.dotsPerInch);

    It is an informational message and should not be treated as an error by the application. I recommend checking how the output information is handled in the code, e.g. if it can recognize the type of trace information correctly.

     

    Regards,
    Katia
    Progress Telerik

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top