11 Replies Latest reply on Jul 20, 2016 5:29 AM by Megha Shetty

    Logging limit

    Megha Shetty

      Hi All,

       

      while executing the job , getting "Info    07/05/2016 13:41:07    You have reached logging limit" in the log and job is terminating.

      is it possible to increase logging limit for one or 2 servers? this happens only on few servers.

       

      Thanks,

      Megha S

        • 1. Re: Logging limit
          Ashish Vijay

          Which version of BSA are you using here.

           

          I am using BSA87 and i can change job log setting in blasadmin

           

          [JRELog]

          LogLevel:

                  Job Group Name     |    LogLevel

          ------------------------------------------

                  JobRun             |    N/A

                  VirtualJobs        |    AllInfo

                  SnapshotAuditJobs  |    AllInfo

                  PatchingJobs       |    AllInfo

                  ProvisioningJobs   |    AllInfo

                  GenericJobs        |    AllInfo

                  NSHScriptJobs      |    AllInfo

                  ComplianceSCAPJobs |    AllInfo

                  DeployJobs         |    AllInfo

                  ACLPushJobs        |    AllInfo

                  USPJobs            |    AllInfo

           

          LogLimit:

                  Job Group Name     |    LogLimit

          ------------------------------------------

                  JobRun             |    1000000

                  VirtualJobs        |    1000

                  SnapshotAuditJobs  |    1000

                  PatchingJobs       |    1000

                  ProvisioningJobs   |    1000

                  GenericJobs        |    1000

                  NSHScriptJobs      |    1000

                  ComplianceSCAPJobs |    1000

                  DeployJobs         |    1000

                  ACLPushJobs        |    1000

                  USPJobs            |    1000

           

          You can change setting with blasadmin commands.

          • 2. Re: Logging limit
            Megha Shetty

            Hi Ashish,

             

            I am also using 8.7. we can change the loglimit of job group. is it possible to change log limit of particular servers?

             

            Thanks,

            Megha Shetty

            • 3. Re: Logging limit
              Jim Wilson

              No

              Controlling the size of job logs - BMC Server Automation 8.7 - BMC Documentation

               

              But the default value for job run messages is 1000000 (one million) log entries.

              Are you really seeing one million messages for these targets and then a subsequent termination?

               

              Please tell us more about the real problem :-)

              • 4. Re: Logging limit
                Megha Shetty

                Hi Jim,

                 

                Its about log limit, (Per Target Log Limit = 1000 ). we have a job which generates more data, when it runs for few servers we get 'you have reached log limit' message and job terminates or complete with errors.

                 

                Thanks,

                Megha Shetty

                • 5. Re: Logging limit
                  Ashish Vijay

                  Hello Megha,

                   

                  I thing changing Log Limit for particular Job Type should solve your issue. Can you try to change Log Size of your job type in blasadmin, restart app server and it should work.

                  • 6. Re: Logging limit
                    Megha Shetty

                    Thanks Ashish! so its not possible to modify log limit for particular servers or job right? we can do it for job group only?

                     

                    Thanks,

                    Megha Shetty

                    • 7. Re: Logging limit
                      Ashish Vijay

                      Yes, You can do for a job type but not for Server

                      1 of 1 people found this helpful
                      • 8. Re: Logging limit
                        Megha Shetty

                        Thank you Jim and Ashish.

                        • 9. Re: Logging limit
                          Jim Wilson

                          With what errors?

                           

                          Per the docs page I pasted, you can only control loglimit by Job Type

                           

                          If you (temporarily) need more than the default 1000 messages, use the information on that page to change the setting, execute the job against the affected target and then revert the setting

                          1 of 1 people found this helpful
                          • 10. Re: Logging limit
                            Jim Wilson

                            Ashish Vijay wrote:

                             

                            change Log Size of your job type in blasadmin, restart app server and it should work.

                            No AppServer restart is required.  Each job checks the current setting at initialisation

                            • 11. Re: Logging limit
                              Megha Shetty

                              okay Jim, I will try it ..