keep track of log const