Keep the lights dim or off.
Get rid of any aggressive fish in the tank.
Keep small feeder fish, like juvenile guppies, in the tank.
Make sure water conditions and tank size are adequate.
This is a nocturnal fish and normally hide when it's light enough to be seen.
Edit: BGK's need a hiding place, so keep the log, or getting a clear plastic tube large enough for it to feel secure in. I strongly recommend keeping the log. You can provide both, giving it a choice of hiding places.