information at the surface. This is known as logging while drilling (LWD) or measurement-while-drilling (MWD). MWD logs use mud pulse technology to transmit data from the tools on the bottom of the drillstring to the processors at the surface. Electrical logs Resistivity log Resistivity logging measures the subsurface electrical resistivity, which is the ability to impede the flow of electric current. This helps to differentiate between formations filled with salty waters (good conductors of electricity) and those filled with hydrocarbons (poor conductors of electricity). Resistivity and porosity measurements are used to calculate water saturation. Resistivity is expressed in ohms.meter (Ω⋅m), and is frequently charted on a logarithm scale versus depth because of the large range of resistivity. The distance from the borehole penetrated by the current varies with the tool, from a few centimeters to one meter. Borehole Imaging The term "borehole imaging" refers to those logging and data-processing methods that are used to produce centimeter-scale images of the borehole wall and the rocks that make it up. The context is, therefore, that of open hole, but some of the tools are closely related to their cased-hole equivalents. Borehole imaging has been one of the most rapidly advancing technologies in wireline well logging. The applications range from detailed reservoir description through reservoir performance to enhanced hydrocarbon recovery. Specific applications are fracture identification, analysis of small-scale sedimentological features, evaluation of net pay in thinly bedded formations, and the identification of breakouts (irregularities in the borehole wall that are aligned with the minimum horizontal stress and appear where stresses around the wellbore exceed the compressive strength of the rock). The subject area can be classified into four parts: Optical imaging Acoustic imaging Electrical imaging Methods that draw on both acoustic and electrical imaging techniques using the same logging tool Porosity logs Porosity logs measure the fraction or percentage of pore volume in a volume of rock. Most porosity logs use either acoustic or nuclear technology. Acoustic logs measure characteristics of sound waves propagated through the well-bore environment. Nuclear logs utilize nuclear reactions that take place in the downhole logging instrument or in the formation. Nuclear logs include density logs and neutron logs, as well as gamma ray logs which are used for correlation. The basic principle behind the use of nuclear technology is that a neutron source placed near the formation whose porosity is being measured will result in neutrons being scattered