Create an account

Please proceed and register to purchase and download from Smart Store.

Create account

Access SmartStore

Create an account and log in and you'll get personal extended information and instant access to all free applications in SmartStore.

Log in

Register or forgot password?

Register  Sign up here

Forgot password  Click here

Change password?



Log custom debug messages - iX sample

The Apache log4net library is a tool to help the programmer output log statements to a variety of output targets. log4net is a port of the excellent Apache log4j™ framework to the Microsoft® .NET runtime.

The iX Developer implements the log4net library into its’ framework and a programmer can use log4net in iX Developer. For more information, please refer to Apache log4net project official website.

Target device: X2 series

Update information
With this library solution it’s easy to log custom debug messages that will help you to debug an iX application in different production lifetime. For example, you can log the DEBUG level message, and then the log can be used for checking the program scenarios as you expected in the development phase. And logging ERROR level message in the production phase (in the field).

It makes it possible to get back some information from your customers or different departments to analyse what might be the root cause of the system crash when they are using your iX applications. The default level is INFO in iX automatically generated log4net.config. You can modify it before downloading the iX application to an X2 or iX RT target.

Version history
• Package V1.0.0 is the first released version (2020-11-18)

Developed and supported for:
• iX Developer 2.40 SP4 / SP5
• X2 series and iX Runtime, including C2 Series

Package file:
• SER0012_V1.0.0_package_iX
The zip file contains a sample project and a quick start guide:
• (iX application)
• SER0012_QS_iX_Sample_Log4Net_V1.0.0-EN.pdf

Note! If you previously downloaded the package file from SmartStore, find the download link in submenu My account > My apps, when logged in!

Related documents


General description

Version: 1.0.0
Release: 2020-11-18
Article: SER-0012