you might want to build out events to log exactly what you need and where: http://docs.sqlalchemy.org/en/latest/core/events.html#sql-execution-and-connection-events
use your own logger, look at the connection / engine / current thread / etc. for whatever you need to keep track of. On Mon, Jun 25, 2018 at 2:44 PM, HP3 <[email protected]> wrote: >> @HP3 just to test this, i would try adding a slightly different connection >> string or argument to the celery connection. e.g. create a different user, >> or toss in a config argument that doesn't affect your code. if the error >> stops, that's most-likely the reason why. > > > I'll try that out and post again. > > > > > -- > SQLAlchemy - > The Python SQL Toolkit and Object Relational Mapper > > http://www.sqlalchemy.org/ > > To post example code, please provide an MCVE: Minimal, Complete, and > Verifiable Example. See http://stackoverflow.com/help/mcve for a full > description. > --- > You received this message because you are subscribed to the Google Groups > "sqlalchemy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/sqlalchemy. > For more options, visit https://groups.google.com/d/optout. -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.
