Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-56487

Log spams "mIMPORT Base URL is unknown" WARN messages when a mail notification is sent

      Summary

      The class "web.csskit.antlr.CSSLexer" spams a WARN message in the Confluence logs when a mail notification is sent.

      Steps to Reproduce

      1. Install a fresh Confluence instance
      2. Create two users with valid email addresses
      3. Configure a Mail Server
      4. Log in as User1, create a page and mention User2 on it, in order to trigger a mail notification

      Expected Results

      An email is sent successfully without any warnings in the logs.

      Actual Results

      The email is sent successfully, but the following messages are shown in the atlassian-confluence.log:

      2018-09-26 15:55:26,993 WARN [NotificationSender:thread-2] [web.csskit.antlr.CSSLexer] mIMPORT Base URL is unknown
       -- url: /c6101/rest/api/content/65610 | referer: http://localhost:26101/c6101/pages/resumedraft.action?draftId=65610&draftShareId=e124533c-e74b-47c4-8150-e0681b74aaf9 | traceId: 7be0668644686614 | userName: admin
      2018-09-26 15:55:26,993 WARN [NotificationSender:thread-2] [web.csskit.antlr.CSSLexer] mIMPORT Unable to construct URL for fileName
       -- url: /c6101/rest/api/content/65610 | referer: http://localhost:26101/c6101/pages/resumedraft.action?draftId=65610&draftShareId=e124533c-e74b-47c4-8150-e0681b74aaf9 | traceId: 7be0668644686614 | userName: admin
      

      Notes

      • Other scenarios that trigger a mail notification would be enough to reproduce the issue.
      • The messages can appear at regular intervals depending on the frequency of the Scheduled Job that flushes the mail queue.

      Workaround

      Although there is no workaround, the WARN messages are harmless and can be safely ignored.

      If the warnings needs to be suppressed, the following package can be configured to have a logging level of ERROR.

      cz.vutbr.web.csskit.antlr
      

          Form Name

            [CONFSERVER-56487] Log spams "mIMPORT Base URL is unknown" WARN messages when a mail notification is sent

            set-jac-bot made changes -
            Geoff made changes -
            Remote Link New: This issue links to "HOT-86293 (Atlassian Service Operations JIRA )" [ 412405 ]
            Luke Hedge made changes -
            Remote Link Original: This issue links to "Page (Extranet)" [ 406996 ]
            Said made changes -
            Remote Link New: This issue links to "Page (Confluence)" [ 408238 ]
            Jenny (Inactive) made changes -
            Remote Link New: This issue links to "Page (Extranet)" [ 406996 ]
            Said made changes -
            Labels Original: enterprise-backlog New: enterprise-backlog log-pollution

            Minh Tran added a comment - - edited

            A fix for this issue is available to Server and Data Center customers in Confluence 6.13.0
            Upgrade now or check out the Release Notes to see what other issues are resolved.

            Minh Tran added a comment - - edited A fix for this issue is available to Server and Data Center customers in Confluence 6.13.0 Upgrade now or check out the Release Notes to see what other issues are resolved.
            Minh Tran made changes -
            Resolution New: Fixed [ 1 ]
            Status Original: Waiting for Release [ 12075 ] New: Closed [ 6 ]
            SET Analytics Bot made changes -
            Support reference count Original: 28 New: 30
            UIS Original: 191 New: 205
            Usman Khalid (Inactive) made changes -
            Sprint Original: Cheesecake - Experience, Daiquiri - Scale, Fireball - Scale [ 5171, 5181, 5195 ] New: Cheesecake - Experience, Daiquiri - Scale, Fireball - Scale, Fireball - Scale 2 [ 5171, 5181, 5195, 5203 ]

              glipatov George Lipatov
              mmachado Mateus Machado (Inactive)
              Affected customers:
              33 This affects my team
              Watchers:
              45 Start watching this issue

                Created:
                Updated:
                Resolved: