alorence / django-modern-rpc

Simple XML-RPC and JSON-RPC server for modern Django
http://django-modern-rpc.rtfd.io
MIT License
98 stars 17 forks source link

Suppress "django-modern-rpc initialized" on django startup #63

Closed washeck closed 8 months ago

washeck commented 8 months ago

modernrpc.apps loggs the number of RPC methods registered on app registration. While this can provide some debugging info, it is printed every time you run manage.py which is bit annoying and in our case even breaks autocomplete for manage.py.

I suggest to change the log level of the message to DEBUG, making it possible for users to enable it, but making it disabled by default.

alorence commented 8 months ago

Your suggestion seems ok. I already felt that logs produced by the library should be less verbose.