Skip to content

Exception should precise Number and Name of AppUser #272

@nicolasdemauroy

Description

@nicolasdemauroy

Today, when logging an error, only the internal id of the user is shown (see example below). This id does not allow to retrieve which user had the problem.

So logging of error should be enriched to show for the current appuser session its number and name

WARNING 658  2021-01-28T12:08:17.476 xxx.utility.AllocatedbudgetDirectorateFieldChildHelper.setContext        Set parent workitem xxx.data.Workitem@e079771a budgetround = xxx.data.Budgetround@6252c092
SEVERE  679  2021-01-28T12:08:17.512  org.openlowcode.server.runtime.ServerConnection.treatThrowable               Exception while treating  action OPENNEXTROUND to to ip = /10.31.63.43, for session of user 24835
WARNING 679  2021-01-28T12:08:17.512  org.openlowcode.tools.trace.ExceptionLogger.setInLogs                        ------------------------------------------------------------------------------
WARNING 679  2021-01-28T12:08:17.512  org.openlowcode.tools.trace.ExceptionLogger.setInLogs                        class java.lang.RuntimeException during processing You can only create new version for last version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions