[MAGNOLIA-6681] Do not log INFO messages about modified directories which are supposed to be excluded Created: 27/May/16  Updated: 15/Oct/20  Resolved: 15/Oct/20

Status: Closed
Project: Magnolia
Component/s: resource-loader
Affects Version/s: 5.4.6
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Federico Grilli Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-6248 A sub-directory should be set in magn... Closed
is related to MAGNOLIA-6434 Make list of excluded resource direct... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

To reproduce in a plain Magnolia bundle

  • set magnolia.develop=true in magnolia.properties
  • go to Contacts App
  • open a contact detail (a temporary image should be created at magnolia.upload.tmpdir=${magnolia.home}/tmp )
    This message will be shown in logs
    INFO  info.magnolia.dirwatch.DirectoryWatcher           : Directory modified at [/Users/fgrilli/devel/workspace/magnolia/CE/magnolia-5.4.x/ce-bundle/magnolia-community-webapp/src/main/webapp/tmp]
    

No file in the tmp directory is actually added to the observed resources however this might be confusing for some users as one expects that tmp dir (among others) is not observed for changes.



 Comments   
Comment by Richard Gange [ 15/Oct/20 ]

This issue can be avoided by using one the changes mentioned in MAGNOLIA-6248 or MAGNOLIA-6434.

Generated at Mon Feb 12 04:16:49 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.