This is a migrated thread and some comments may be shown as answers.

Information message in standard error output

3 Answers 69 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 2
Brent asked on 20 Jan 2020, 07:05 PM

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?

3 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 29 Jan 2020, 07:57 AM

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
0
Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
answered on 02 Jun 2020, 11:02 AM

Hello Katia,

Every quarter we use new Telerik.Reporting NuGet and recently in our project we updated Telerik.Reporting NuGet to R2.2020 version. After that, on starting our server app, we're getting more different messages in our standard error output.

We're getting these messages created by Telerik.Reporting:

  "Telerik Reporting Assembly Information",
   "======================================",
   "Name: Telerik.Reporting, Version=14.1.20.513, Culture=neutral, PublicKeyToken=a9d7983dfcc261be; Location:..."

Is there any way to avoid showing that message?

 

0
Ivan Hristov
Telerik team
answered on 04 Jun 2020, 05:17 PM

Hello Tursunhuja,

These trace messages contain information with important details about Telerik Reporting assembly. This information is valuable to us because it helps us determine if our product is used on a specific platform or under specific conditions, ultimately improving the support service. The message are output with Trace.WriteLine instead of Trace.WriteInformation on purpose. However, in case you want to filter these messages, a custom EventListener could help - see this article for more information: Suppress Trace Messages From Specific DLL.

Regards,
Ivan Hristov
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
General Discussions
Asked by
Brent
Top achievements
Rank 2
Answers by
Katia
Telerik team
Tursunkhuja
Top achievements
Rank 2
Iron
Iron
Veteran
Ivan Hristov
Telerik team
Share this question
or