Documentation issue in ACE

The https://bitbucket.org/atlassian/atlassian-connect-express/src/master/ README.md says about the config.json:

 //     "logging": function, //optional - function that gets executed every time Sequelize would log something.

Probably this documentation is not correct. It is possible to fill in the symbol false to disable sequelize logging. As it’s a JSON file, it’s impossible to fill in a function. And the string representation of a function does not work.

When looking at the source code for lib/store/sequelize.js, you can see that logging is set to logger.info for any trueish value.

It would be great if there was more documentation on logging in ACE.

Related PR: https://bitbucket.org/atlassian/atlassian-connect-express/pull-requests/126/allow-disabling-of-sequelize-log/diff

@acalantog Is there a better way to report this?

Hi @atlassiandev,

I’ve created a product issue on this, see https://ecosystem.atlassian.net/browse/ACEJS-148

Cheers,
Anne

1 Like