Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Deploy and Run Script Logging
bibulle
Does anybody use logging in a DNR script ?
I try do use it but nothing appened !!!
I read OpenDeploy 5.0 admin Guide and what is said is really poor.
Please, help me
Eric
Find more posts tagged with
Comments
Denis
I have the same problem ?
Would also be happy for an answer.
Denis
Adam Stoller
Can you be more precise about what you are looking for?
Are you looking to capture the deployment log information within your DNR or are you looking to log activities of your DNR script?
For the former - I recommend looking at the files in the IWODHOME/solutions/perl/ directory.
--fish
(Interwoven, Curriculum Development)
Denis
I am starting a deployment from a CGI script (custom menu item) on the Teamsite server.
I call a DNR script on the target server after successfull deployment. I want to know how I can analyze return values from the DNR scipt in the CGI caller script on the TEamsite server ?
Thanks
Denis
Adam Stoller
This seems a bit silly to repeat things this way - but let me make sure I have this correct:
CGI
script runs deployment from
A
Deploy from
A
to
B
After success, run
DNR
on
B
to do "something"
You want
CGI
on
A
to be able to pick up information from
DNR
that ran on
B
Yes?
If so - I don't think there is any easy way to do this.
What I can think of off the top-of-my-head would be something like:
CGI
script runs deployment from
A
Deploy
A
to
B
On success, run
DNR
on
B
Have
DNR
on
B
store data in a logfile with a
well-known-name
in a
well-known-location
(actually this can be a parameter that your
CGI
creates and passes in to the deployment using the '
-k
' flag perhaps - so you can get a unique name per invokation).
When deployment is determined as a success have
CGI
run
another
deployment - a
reverse
deployment - to pull the logfile from
B
to
A
(possibly with
DNR
to delete logfile from
B
afterwards?)
Then have
CGI
process logfile on
A
(and probably delete it when done?)
Not tremendously pretty - but I believe it could work.
Edited by ghoti on 10/04/02 03:10 PM (server time).