jessepeterson / margarita

Web frontend for reposado
The Unlicense
245 stars 40 forks source link

"No config-data" message spamming Apache error log #45

Closed MichalMMac closed 7 years ago

MichalMMac commented 8 years ago

When I visit my Margarita (latest version from master branch) web page hosted by Apache tons of messages appear in Apache error log saying No config-data in.

I remove all config-data with repoutil --remove-config-data all.

Not sure if this is expected behaviour.

[Wed Apr 20 19:00:31.764567 2016] [:error] [pid 20689] No config-data in /home/reposado/html/content/downloads/37/01/031-54475/jwyjzo2lz6ox0h5pqdvi56pg3rakxsozm3/031-54475.English.dist
[Wed Apr 20 19:00:31.766007 2016] [:error] [pid 20689] No config-data in /home/reposado/html/content/downloads/14/27/031-58759/rvmnb9d04ynuxyx6a5trex1gl1zlexid58/031-58759.el.dist
.....
[Wed Apr 20 19:00:32.539359 2016] [:error] [pid 20689] {u'031-53569': False, u'031-56632': False, u'031-53826': False, u'031-53827': False, u'031-53822': False, u'031-49973': False, u'031-56504': False, u'031-54409': False, u'031-54725': False, u'031-51648': False, u'031-55710': False, u'zzz031-46045': False, u'031-56720': False, u'031-58759': False, u'031-54724': False, u'031-54475': False, u'031-20741': False, u'031-55705': False, u'031-58736': False, u'031-53817': False}
jessepeterson commented 8 years ago

I think it is expected behavior, but not ideal. There's now a switch in the code for reposado to not display those warnings and I believe I just need to implement that.

jessepeterson commented 7 years ago

@MagerValp implemented the solution I was thinking of. Thanks for that!