Re: XML Log (-> file size!)



This is a good idea, I will discuss this with my team, thx for your help!

Kind regards,

Frederik

<jhofmeyr@xxxxxxxxxxxxxx> wrote in message
news:1187608098.280331.102610@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 16 Aug, 14:27, "Frederik V" <vellema...@xxxxxxxxxxx> wrote:
Hi everyone,

I'm asked to continue an existing project in SSIS, which currently uses
XML
for logging. I noticed that we now have log files up to 200MB in size. Is
there a way to limit those log files in size?

Please do keep in mind that I'm still learning SSIS, so keep your answer
as
simple as possible :-)

Many thanks for any help!

Hi,

I tend to log to a new file every day - then size management becomes a
function of file archive policy.

There are a number of ways to implement logging in this way - my
preferred method is to set the ConnectionString property for the
logging file connection using an expression.

To do this:
1) Right-click on the connection in the connection manager and select
Properties.
2) Click on the Expressions property and open the Property Expressions
Editor.
3) Select "ConnectionString" from the Property drop-down and open the
Expression Builder.
4) Type in your filename expression (e.g. "C:\Logs\SSISLog_" + @date +
".xml")

If this isn't an option for you, you might want to review your logging
options. SSIS provides quite a detailed level of logging and it may
just be that you need to configure it to only log the information that
you need for support / reporting purposes.

Good Luck!
J



.



Relevant Pages

  • Re: XML Log (-> file size!)
    ... I'm asked to continue an existing project in SSIS, ... I noticed that we now have log files up to 200MB in size. ... There are a number of ways to implement logging in this way - my ... Right-click on the connection in the connection manager and select ...
    (microsoft.public.sqlserver.dts)
  • XML Log (-> file size!)
    ... I'm asked to continue an existing project in SSIS, which currently uses XML ... for logging. ... I noticed that we now have log files up to 200MB in size. ...
    (microsoft.public.sqlserver.dts)
  • LDAP bind failed with error 1053
    ... Noticed that when logging on to a member server of a different domain via ... remote desktop connection, ... Computer: memberserver ... Windows cannot query for the list of Group Policy objects. ...
    (microsoft.public.windows.server.general)
  • Re: Requiring specific computer to log on
    ... > Monitoring through the RRAS VPN log files is simple though. ... Double click the logfile. ... >> if I can simply block his own machine from logging on - that does resolve ... >> able to monitor his logging on. ...
    (microsoft.public.windows.server.sbs)
  • Re: GP Software Install / Log File
    ... I enabled the MSI logging also. ... the Windows Group Policy Guide is out from Microsoft Press!!! ... can also enable software installation specific logging. ... out where the log files go for this push. ...
    (microsoft.public.windows.group_policy)