Closed OGKevin closed 4 years ago
Interestingly, in the docker build these debug messages are notthere. So im kind of confused how these work. Is there any documentation on this?
I assume you're on ObjectBox Go 1.0. How did you install the ObjectBox c library? Did you use the install.sh script or a download.sh from the c-lib repo?
To get rid of the DEBUG messages, you can try reinstalling the library on your dev machine using the quick-installation or the "C binary library" installation script from the docs - https://golang.objectbox.io/install
e.g.
mkdir objectboxlib && cd objectboxlib
bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh) 0.6.0
@OGKevin on which OS are you seeing the DEBUG messages?
go version go1.12.7 darwin/amd64 10.14.5 I installled it by running bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-go/master/install.sh)
In the build pipeline, i install it by running
- wget https://raw.githubusercontent.com/objectbox/objectbox-c/master/download.sh
- chmod 777 ./download.sh
- ./download.sh --install
which does not have the debug messages 🤔
Thanks for the reply, it seems the c-api had DEBUG logs enabled for mac. It will be changed in the next objectbox-c release. I'll close the issue afterwards.
Resolved by the latest release v1.1.0
Everytime i open a connection, a bunch of debug messages spits out wich is nice for dev env, but for prod i rather not have them.
e.g.
How can i disable this ?
The corresponding go code:
Thanks in advance.