I was adding a structured logger into SDX's corda recently.
and there seems to be a feeling that the drivers directory is automagically added to the classpath. But running with a fat corda jar, we do not see those jars being added to the class path.
In order to add to the class path (in this case so that log4j can be configured to use a client supplied log4j layout), i had to add this to node.conf:
I've probably got the wrong end of the stick here, in which case do please let me know, but i think we should:
add something to the docs re a directory in which to put things we want corda to load (ie be explicit about whether it's drivers/ or not and also if not we should create a convention to follow - this will make support's life so much easier going forwards)
decide whether we automatically put things in whichever dir we pick into the classpath - again i believe we should as it would stop support calls