-
Improvement
-
Resolution: Won't Do
-
Neutral
-
None
-
4.5.19
-
None
When logging information about a node it would be very helpful if the information uniquely identified the node. With Magnolia 4.5.19 I see the following in the logs when activating two nodes:
INFO info.magnolia.module.exchangesimple.BaseSyndicatorImpl 26.05.2014 17:23:51 -- Exchange: activation succeeded [/npodoc] INFO info.magnolia.module.exchangesimple.BaseSyndicatorImpl 26.05.2014 17:23:51 -- Exchange: activation succeeded [/npodoc/2013/maart/rijksmuseum]
I know that the first activation was a web page and the second was an image, but from the logs it is not obvious that the nodes with these paths are not in the same workspace.
I would argue that whenever a string representation of a node is used, just a path is not enough. Prefixing the path with the workspace would help.
It could look like this:
INFO info.magnolia.module.exchangesimple.BaseSyndicatorImpl 26.05.2014 17:23:51 -- Exchange: activation succeeded [website:/npodoc] INFO info.magnolia.module.exchangesimple.BaseSyndicatorImpl 26.05.2014 17:23:51 -- Exchange: activation succeeded [media:/npodoc/2013/maart/rijksmuseum]
This could even be in the toString() method of Node implementations?
Acceptance criteria