oh, you know that's in the logging.  logging.fileConfig() is used for
that and it's actually in your env.py.  Just add "defaults" to that
line in your env.py.

https://docs.python.org/2/library/logging.config.html#logging.config.fileConfig




On Tue, Sep 25, 2018 at 7:49 PM <jens.troe...@gmail.com> wrote:
>
> Huh…  I use the -c option:
>
> ./bin/alembic -c proj-localhost.ini upgrade head
>
> Jens
>
>
> On Monday, September 24, 2018 at 11:21:42 PM UTC+10, Mike Bayer wrote:
>>
>>
>> Looking at the source code, we already have "here":
>>
>>  if self.config_file_name:
>>             here = os.path.abspath(os.path.dirname(self.config_file_name))
>>         else:
>>             here = ""
>>         self.config_args['here'] = here
>>         file_config = SafeConfigParser(self.config_args)
>>         if self.config_file_name:
>>             file_config.read([self.config_file_name])
>>         else:
>>             file_config.add_section(self.config_ini_section)
>>         return file_config
>>
>> so...how are you getting this .ini file over to alembic?
>>
> --
> You received this message because you are subscribed to the Google Groups 
> "sqlalchemy-alembic" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to sqlalchemy-alembic+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy-alembic" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy-alembic+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to