MySQL RealTime: No database host found, using localhost via socket.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Asterisk |
New
|
Undecided
|
Unassigned | ||
Gemeinschaft (by Amooma) |
Invalid
|
Wishlist
|
Unassigned | ||
Gemeinschaft (ph.) |
Invalid
|
Wishlist
|
Unassigned |
Bug Description
There are 2 messages from parse_config() in res_config_mysql.c (in
asterisk-addons) which I find somewhat disturbing:
[Jul 26 09:09:15] WARNING[12711]: res_config_
MySQL RealTime: No database host found, using localhost via socket.
IMHO that does not justify a WARNING. After all my res_mysql.conf
looks like this:
dbsock = /var/run/
dbuser = asterisk
dbpass = secret
dbname = asterisk
The fact that there is a dbsock but no dbhost makes it quite obvious
that the socket should be used. Nothing to alert me about.
[Jul 26 09:09:15] WARNING[12711]: res_config_
MySQL RealTime: No database port found, using 3306 as default.
Even more so no reason to alert me. My web browser doesn't warn me
that it's going to use port 80 for HTTP by default.
Please make those messages a NOTICE or less.
Changed in gemeinschaft-amooma: | |
importance: | Undecided → Wishlist |
status: | New → Invalid |
Changed in gemeinschaft: | |
importance: | Undecided → Wishlist |
status: | New → Invalid |
I agree these warnings should be verbose and not WARNING.
I will fix this upstream.
Thanks