Fabio: log.routes.format is broken with 1.5.13

Created on 17 Dec 2019  路  7Comments  路  Source: fabiolb/fabio

Hi folks,

Using log.routes.format = all, the Fabio logs appear to be broken:

Dec 17 19:10:04 fabio-i-0ec2ac85dcac2e3f1 fabio[23101]: 2019/12/17 19:10:04 [INFO] Updated config to
Dec 17 19:10:04 fabio-i-0ec2ac85dcac2e3f1 fabio[23101]: 2019/12/17 19:10:04 [INFO] Updated config to
Dec 17 19:10:07 fabio-i-0ec2ac85dcac2e3f1 fabio[23101]: 2019/12/17 19:10:07 [INFO] Updated config to

Changing to log.routes.format = delta, it doesn't actually show anything at all in logs.

Only log.routes.format = detail seems to work now.

Thanks in advance

Most helpful comment

Thank you for your patience @scalp42, this fix will be included in the next release.

All 7 comments

@scalp42 Thank you for the report. I'll try and take a look at this over the break.

Taking a TODO here. Sorry again for the delay.

Please don't be sorry, @leprechau you're appreciated 馃檶

@scalp42 digging into this now, I'll let you know what I find.

So, I see what's happening. The next and last variables aren't being set. They're empty when passed to the logger. I'm guessing this has something to do with the change to using a buffer instead of string concatenation for the routing table.

I don't know why it's happening yet, but I at least know where to look and can reproduce the problem. This also affects current master branch.

Thank you for your patience @scalp42, this fix will be included in the next release.

@leprechau thank you again for the fix, it's much appreciated!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sara4dev picture sara4dev  路  14Comments

artyomturkin picture artyomturkin  路  12Comments

kaspergrubbe picture kaspergrubbe  路  11Comments

far-blue picture far-blue  路  14Comments

erenfro picture erenfro  路  10Comments