Hello I've a problem using the project's stats and logs. I want to save all the log in a database but I can't use my context variable to set the connection. I've an error message : Exception in component connectionStatsLogs org.postgresql.util.PSQLException: La tentative de connexion a échoué. (connection failed) How can I do to use my context's variable on the Stats and logs ? Thanks !
The value of my contextes variables are set in a file. I think that's the reason why I can't use my contexte variable in the stat / log and in the implicit context ... Is there a solution for that ? Or I have to set my variable in the context ?
Hi, I don't know if it helps, but we use --context_param with key/value pairs when running jobs to fill the context for the database connection which is used for stats and logs. Maybe you can use a similar approach. Good luck, Arno
I had the same problem, solution is: 1. Project settings, Implicit context load - load your context file 2. In file path you can now write: context.path 3. in your job you have to create a new context variable path Your job is done.