Begin Component Dummy
		Begin StrVariable logFileName
			when(ExistsAndNotEmpty(GetRequestActualParameter("logfile")))
			{
				Value = "../log/" + GetRequestActualParameter("logfile")
			}
			else
			{
				Value = "../log/messages.log"
			}
		End

		Begin StrVariable message
			Value = GetRequestActualParameter("message")
		End

		Begin strVariable userIpAddress
			value = ENV("REMOTE_ADDR")
		End
		
		Begin strVariable sid
			value = GetRequestActualParameter("sid")
		End
		Begin setfilecontents
			filename = StrVariable.logFileName()
			data = "User=(" + GetUser() + ") sid=(" + StrVariable.Sid() + ") ip address=(" + strVariable.userIpAddress() + ") message=(" + StrVariable.message() + ")" + NewLine()
			append = true
		End
End
