span8
span4
span8
span4
Good morning,
I have a FME Server job that runs a python caller.Part of this python caller is to run some sql in a postgres database.When I look in my fme job log I can see the step being called but I don't see any logging from the sql.
Is it possible to add the logging from the postgres log into the fme log?
thanks@jeroenstiersand@david_r,I was being lazy and hoping there was an automatic way.
I agree with @jeroenstiers.
But since you're already using Python you could look into what is possible using thepsycopg2module.Lots of possibilites there:http://initd.org/psycopg/docs/
I don't know a way to do this automatically - I don't think this is possible.Of course you can always write this functionality yourself since both log files are text-files and contain a timestamp.Merging them shouldn't be that hard.
Good luck!
Native spatial query using SQLExecutor on OSM ways in database tables1 Answer
Is it possible to control 'Number Of Records To Fetch At A Time' on SQLExecutor Transformer?6 Answers
Logging to Gibraltar Loupe ?2 Answers
"Join" SQL statement in PostGIS reader2 Answers
SQL Statement to Execute Before Translation Double Encoded1 Answer
© 2019 亚搏在线Safe Software Inc |法律