It is not a bug, it was done on purpose to limit the size of logging message, because there can be rather long queries some time and can fill the logs or slow down. If you find 64 too short, you can eventually double it. Alternative you can add a modparam to set the max length to be printed.