Hi Rob,


The log action probably was never tested in IMS Bench SIPp and the whole
actions implementation went through a complete overhaul compared to the
base SIPp. Looking at the code, it seems you'd need to change the
CLogAction constructor in actions.hpp file in the following way (change
shown in red):

 

class CLogAction : public CAction

{

public:

  CLogAction(char* P_message) : CAction(CAction::E_AT_LOG_TO_FILE),
M_message(NULL) { setMessage(P_message); }

  virtual ~CLogAction();

  virtual void showInfo();

 

  void execute(call& call_r);

 

  void setMessage(char* P_value);

  char* getMessage() { return M_message; }

 

private:

  char* M_message;

};

 

I haven't had a chance to test this. So please let us know if it works
as expected.

 

Regards,

-David

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: mercredi 18 juin 2008 15:33
To: Lecluse, Philippe; [email protected]
Subject: [Sipp-users] R: Log problem

 

Hi all,
  I need some logging from the message received in an IMSBench scenario,
so I've added this portion of code for test:

-----------------
<recv request="NOTIFY" timeout="100" ontimeout="7">
    <action>
      <log message="bye"/>
    </action>
  </recv>
-----------------

But in the sipp_TS2_logs.log I've got this:

-----------------
10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000

10, 50, 100, 500, 1000, 5000, 10000
..
-----------------

Why log command wrote that?

BYe Rob 

---------------------------------------------------------------------
Intel Corporation NV/SA
Rond point Schuman 6, B-1040 Brussels
RPM (Bruxelles) 0415.497.718. 
Citibank, Brussels, account 570/1031255/09

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to