• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

invalid log file characters being added

I have one batch job process running on Unix Box, whenever after th batch job is executed, it creates te log file with invalid characters at the end of the .log file name, any IDEA why i am getting this, this is the first time i am doing batch jobs work!

the file is starting abc.sh file and has .xml contents also!

So what could be the root cause

Please guide

Thanks
0
Gurpreet Singh Randhawa
Asked:
Gurpreet Singh Randhawa
1 Solution
 
wesly_chenCommented:
> after th batch job is executed, it creates te log file with invalid characters at the end of the .log file name
Please post the batch job script here so we can debug how the log file being created and possibly the wierd charactor for the log file name.
0
 
TintinCommented:
What type of "invalid" characters?
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
@!@#$#^&*(
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
This is how the log file is being Made, Please tell what is going wrong hyere
<?xml version="1.0" encoding="UTF-8"?>
<message>
<![CDATA[
								DO NOT REPLY TO THIS EMAIL.<br />
								&nbsp;<br />			
								
								Log File = ${DIR}/make_log_${logtime.todaydate}.log<br />								
								]]>
</message>

Open in new window

0
 
LuminarCommented:
check the script, do you find something that may remind you of what the log is showing? (try eventually look at the xml contents )and see if there has been changes lately.

Well i would save a copy of it, try to remove some stuff like the <br />       &nbsp;<br />, known to cause ruckus sometimes.      

Try taking Small steps and see what happens.
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
* is appended at the last
0
 
wesly_chenCommented:
How does the batch job run?
could you post the command and the content if the batch is a script?
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
through putty
0
 
wesly_chenCommented:
What command do you run after you login from putty?
Could you please post the whole content of the command or script?
We don't have enough information.
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
i just the .sh file  and it executes the xml file and genrate the logs
0
 
wesly_chenCommented:
Please post the .sh file if you don't mind. It is highly possible that root cause is in that ,sh file.
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
i will wait a bit few moe days until i start the work on this
0
 
wesly_chenCommented:
Take your time.
0
 
wesly_chenCommented:
Hi, I will be on vacation for 10 days start 6/17/2011. Please click "Request Attention" if you need help during my absent. Other experts will assist you.
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
i need some more time?
0
 
Gurpreet Singh RandhawaWeb DeveloperAuthor Commented:
Well thanks for the tip but it did not worked actually
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now