Logging Configuration (Loggers)

This is a list of loggers that you can configure using log4net:

Origam.Common.TypeExtensions

WARNING

Could not load assembly: {assemblyLocation}, reason: {message} – When trying to load model fails because the model library fails to load

Origam.Reflector

DEBUG

Can’t resolve type ‘{assemblyName}’ from assembly path '{assemblyPath} – When loading of a dependent library (e.g. workflow service agent) fails

Origam.ResourceMonitor

DEBUG

Registering transaction id {transactionId} – When transaction is being created
Committing transaction id {transactionId} – When transaction is being committed
Rolling back transaction id {transactionId} – When transaction is being rolled back
**Rolling back transaction id {transactionId} to save point {savePointName} – ** When rolling back a transaction to a defined save point
Saving transaction id {transactionId}, save point {savePointName} – When saving a transaction save point

FATAL

Failed committing transaction {transactionId} – When transaction commit fails
Failed rolling back transaction {transactionId} – When transaction rollback fails

Origam.BI.CrystalReports.CrystalReportHelper

INFO

Generating report started – before sending an HTTP request to a CrystalReportService
Generating report finished – after a successfully getting back report data

Special Properties

Caption – you can access a caption of the report

ERROR

Can’t write Crystal Report debug info: {message} – When writing the source XML of report data for debugging purposes fails

Origam.BI.CrystalReports.CrystalReportsService

INFO

Printing report ‘{reportName}’ to {printerName} – Before sending report to the Crystal Reports Service for printing
Exporting report ‘{reportName}’ to {format} – Before sending report to the Crystal Reports Service for export

Origam.BI.FastReport.FastReportService

INFO

Exporting report ‘{reportName}’ to {format} – Before exporting a report to the desired format

Origam.BI.SSRS.SSRSService

DEBUG

SSRSService Timeout: {0} – logs the current timeout setting before sending the request to an SSRS service

Origam.HashIndexFile

DEBUG

Starting to compute hash for file {0} – Before calculating a hash when checking model files against index.bin

Origam.DA.Service.DataLoader

ERROR

{ex.Message}, SQL: {commandText} – Traces down the SQL that caused an error

Origam.DA.Service.AbstractSqlDataService

INFO

BulkCopy; Entity: {changedTableName} {rowState} {rowCount} row(s). Transaction id: {transactionId} – after bulk copy is completed, the number of rows affected is logged
UpdateData; Entity: {changedTable}, {owState} {result} row(s). Transaction id: {transactionId}; – finished data update details

ERROR

{ListRowErrors} – Lists errors when enforcing constraints on the loaded dataset (null and unique checks)
DBConcurrencyException occurred! See "concurrencyLog" logger (Debug mode) for more details – A concurrency error occurs when updating data
Update failed – an exception that happened when updating data
Stored Procedure Call failed – logs an exception that occurred when running a stored procedure

DEBUG

UpdateData; Data Structure Id: {0} – Data structure ID when starting data update (saving data to the database)
UpdateData; {0} – Writes the content of the dataset being updated
SQL Command; Connection ID: {spid} Transaction ID: {transactionId} {command.CommandText} – logs the complete SQL command and the database engine’s process Id
Parameter: {parameterName} Value: {paramValue} – logs the value of all parameters sent with the SQL command

Origam.DA.Service.ConcurrencyExceptionLogger

DEBUG

Concurrency exception data structure query details: ‘{0}’, method: ‘{1}’, sortSet: ‘{2}’, default set: ‘{3}’ – writes down the info about the query that caused the concurrency exception
Concurrency exception details: {0} – writes down the details about the concurrency exception (who changed the data etc.)

Origam.DA.Service.Profiler

{logEntryType}{path} Id: {id} Duration: {duration} ms rows: {rows} – logs different data service performance data (times to execute SQL statements)

Origam.DA.Service.FileEventQueue

INFO

Reload caused by: {fileName} – logs a file that causes a model to reload

Origam.DA.Service.BinFileLoader

DEBUG

Loaded index file: {indexFile}, last modified: {indexFile.LastWriteTime}, tracker stats:\n – After loading an index file with file load history in order to skip already loaded files

ERROR

Error when loading index file:{indexFile}, data is inconsistent. ItemTracker stats now:{newStats} ItemTracker stats in file:{loadedStats} – After an error occurs when loading an index file

Origam.Security.Identity.IdentityServiceAgent

ERROR

Can’t send a confirmation email – An exception that occurred when sending an e-mail with a confirmation token

Origam.Server.Analytics

INFO

UI_INIT – Logged when the user opens ORIGAM client (InitPortal endpoint is called)
UI_LOGOUT – Logged after the user logs out of the ORIGAM client

PAGE_ACCESS – Logged when an API page is accessed. There are special properties available:

  • OrigamPageId – API model Id
  • OrigamPageName – API page name
  • Parameter_X for each URL parameter (X is replace with the parameter’s name)

UI_OPENFORM – Logged when a screen is opened by the user. There are special properties available:

  • OrigamFormId – Screen model Id
  • OrigamFormName – Screen’s name

UI_CLOSEFORM – Logged when a screen is closed by the user. There are special properties available:

  • OrigamFormId – Screen model Id
  • OrigamFormName – Screen’s name

API LOGGING

See How to set up an event logging with Log Transformations for information about API logging.

Origam.ServerCore.Authorization.CoreManagerAdapter

DEBUG

User not found – When user is not found by its Id

Origam.Workbench.Services.DataLookupService

WARNING

DataLookup has no ValueDataStructureMethodId – missing model property

Origam.Workflow.FileService.FileServiceAgent

INFO

Read {0} records from a file. – Records a number of rows read from a delimited file

DEBUG

Executing {methodName} – Logs the name of the method being executed
Parameter {0}, Value {1} – Logs the parameters of the method

Origam.Workflow.WorkflowEngine

DEBUG

Workflow (block) start

---------------------------------------------------------------------------------------
------------------- Starting workflow: {WorkflowBlock.Name}
------------------- Transaction ID: {this.TransactionId}
---------------------------------------------------------------------------------------

Initializing data store: {contextStoreName} – A new context store gets initialized
Passing input context – An input gets passed to the context stored that is being initialised
Starting {taskType}: {stepName} – Before a workflow task gets started
Step will not execute because of feature being turned off. – Logged when a step is filtered out because of a feature being turned off
Step will not execute because the user has not been authorized. – Logged when a step is filtered out because of the user running it has not the right Role set in the step
Evaluating startup rule for step {taskName} – Logged before evaluating a Start Rule of the workflow step
Rule evaluated and returned {result} – Result of the start rule
Evaluating validation rule for step {stepName} – Logged before evaluating a Validation Rule of the workflow step
{taskType} {stepName} finished successfully. – After the workflow step has finished
Block ‘{workflowBlockName}’ completed – After a workflow block has completed
Workflow completed – The workflow has completed
Throwing caught exception {caughtException} – The workflow is throwing an exception to the parent caller

INFO

Merging context ‘{contextName}’ {stepNameLog} – Before merging the results returned by the step to the context store
Finished merging context ‘{contextName}’ {stepNameLog} – After merging the results returned by the step to the context store

ERROR

{stepType} {stepName} failed. – Logs an exception when step has failed

Origam.Workflow.ProfilingTools

Logs performance information about different parts of the workflow engine

Origam.Workflow.TransformationAgent

DEBUG

Validating parameters – Before validating input parameters in TransformData method
Opening output file {OutputFile} – Before opening an output file (TransformData method)
Aquiring DataReader – Before starting loading data from the database (TransformData method)
Initializing transformation – Before starting the streaming data transformation (TransformData method)
Transformation finished – After the streaming transformation has finished

Origam.Workflow.WorkQueue.WorkQueueIncrementalFileLoader

INFO

Connecting {connection} – When connecting (reading a file list)

Origam.Mail

DEBUG

Sending mail: Before a mail is sent by mail service
System.Net.Mail.SmtpClient: {propertyValues} Before a mail is sent by mail service
System.Net.Mail.MailMessage: {propertyValues} Before a mail is sent by mail service
Mail sent After a mail has been successfully sent using the SmtpClient client

Origam.Rule.RowSecurityStateBuilder (Since 2022.4.3)

ERROR

Failed evaluating security rule for child relation {{RelationName}} for entity {{EntitId}} - An evaluation of security rules for a child relation has failed