Tealium / tealium-flutter

Tealium Flutter Plugin
Other
6 stars 6 forks source link

Logging Tags from TagDispatcher #11

Open jasonmcgraw opened 3 years ago

jasonmcgraw commented 3 years ago

On Tealium 1.x, tags were output to the console when logged. Ever since, upgrading to 2.x, we don't see tags being outputted to the console. We've set our LogLevel to LogLevel.DEV to no avail. Is this expected functionality or is there an issue here?

jameskeith commented 3 years ago

@jasonmcgraw - thanks for raising this query. It's certainly not by design, but there was a change to the underlying SDK (Tealium Android Java -> Kotlin SDK) and it looks like the Logger behaviour has changed in such a way that it has this knock-on effect. I've found an issue with the LogLevel parameter not being passed through, so hopefully the fix for this should be out soon.

In the interim, if you do need to inspect the console logs then you should be able to access them by specifying the TealiumEnvironment as .dev - this works at my end at least.

jasonmcgraw commented 3 years ago

@jasonmcgraw - thanks for raising this query. It's certainly not by design, but there was a change to the underlying SDK (Tealium Android Java -> Kotlin SDK) and it looks like the Logger behaviour has changed in such a way that it has this knock-on effect. I've found an issue with the LogLevel parameter not being passed through, so hopefully the fix for this should be out soon.

In the interim, if you do need to inspect the console logs then you should be able to access them by specifying the TealiumEnvironment as .dev - this works at my end at least.

Thank you for your response, setting the TealiumEnvironment to .dev seems to be getting the job done. Once the LogLevel fix is in, will we be able to set the LogLevel to .DEV and get the same result regardless of environment?

jameskeith commented 3 years ago

@jasonmcgraw - correct, once the fix is released you should be able to override the loglevel regardless of the environment used.