faustinoaq changed the topic of #amber to: Welcome to Amber Framework community! | https://amberframework.org | Developer happiness, productivity and bare metal performance | GH: https://github.com/amberframework | Docs: https://docs.amberframework.org | Gitter: https://gitter.im/amberframework/amber | IRC Logger: https://irclog.whitequark.org/amber | Amber::Server.start
_whitelogger has joined #amber
_whitelogger has joined #amber
<FromGitter> <ckgagan> Hi
<FromGitter> <ckgagan> Excited to join this community.
<FromGitter> <ckgagan> Anyone familiar with this warning ⏎ ⏎ In /usr/local/Cellar/crystal/0.34.0/src/logger.cr:124:3 ⏎ ⏎ 124 | def initialize(@io : IO?, @level = Severity::INFO, @formatter = DEFAULT_FORMATTER, @progname = "") ... [https://gitter.im/amberframework/amber?at=5ec9fb4d9da05a060a28e9c5]
_whitelogger has joined #amber
<FromGitter> <drujensen> hi @7sidedmarble. soemething is not working related to the environment variable `DATABASE_URL`
<FromGitter> <drujensen> Hi Gagan
<FromGitter> <drujensen> The good news is Crystal 0.34.0 introduced a new api for `Log` that replaced the `Logger`. The bad news is Amber built our own custom logging that sat on top of the deprecated one. Someone will have to rewrite that.
<FromGitter> <drujensen> for now you can either ignore that warning or add a flag at compile time to disable it
<FromGitter> <drujensen> verify your docker-compose.yml has the proper DATABASE_URL set for postgres.
<FromGitter> <drujensen> I believe granite will use that environment variable over anything set in the `config/database.cr`
<FromGitter> <drujensen> Another option is to update the `database_url` setting in the `config/environments/development.yml` file
<FromGitter> <drujensen> hope this helps
FromGitter has quit [Remote host closed the connection]
FromGitter has joined #amber